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:
Tom Stellard 2022-05-31 11:34:29 -07:00
parent 22c49c99fc
commit 475a496cb9

View File

@ -21,7 +21,8 @@ https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild
https://github.com/llvm/llvm-project/commit/9b9d08111b618d74574ba03e5cc3d752ecc56f55 https://github.com/llvm/llvm-project/commit/9b9d08111b618d74574ba03e5cc3d752ecc56f55
%build %build
clang ${CFLAGS} -fopenmp %{SOURCE0} -o main clang ${CFLAGS} -c %{SOURCE0} -o test.o
clang ${LDFLAGS} -fopenmp test.o -o main
%check %check
./main ./main