Update openmp-rpm test to pass LDFLAGS
This is needed after -fno-openmp-implicit-rpath was moved from CFLAGS to LDFLAGS.
This commit is contained in:
parent
22c49c99fc
commit
475a496cb9
@ -21,7 +21,8 @@ https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild
|
||||
https://github.com/llvm/llvm-project/commit/9b9d08111b618d74574ba03e5cc3d752ecc56f55
|
||||
|
||||
%build
|
||||
clang ${CFLAGS} -fopenmp %{SOURCE0} -o main
|
||||
clang ${CFLAGS} -c %{SOURCE0} -o test.o
|
||||
clang ${LDFLAGS} -fopenmp test.o -o main
|
||||
|
||||
%check
|
||||
./main
|
||||
|
Loading…
Reference in New Issue
Block a user