475a496
@@ -21,7 +21,8 @@
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
This is needed after -fno-openmp-implicit-rpath was moved from CFLAGS to LDFLAGS.
@jcheca
Build succeeded.
@tstellar agreed. This is in PR#165 but let's merge this one asap as missing LDFLAGS is making this test fail.
Pull-Request has been merged by sergesanspaille
This is needed after -fno-openmp-implicit-rpath was moved from CFLAGS
to LDFLAGS.