From 475a496cb9d7e8378a3f997f3b43697e62e9b7ab Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 31 May 2022 11:34:29 -0700 Subject: [PATCH] Update openmp-rpm test to pass LDFLAGS This is needed after -fno-openmp-implicit-rpath was moved from CFLAGS to LDFLAGS. --- tests/openmp-rpm/test.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/openmp-rpm/test.spec b/tests/openmp-rpm/test.spec index e80c20b..82b1a97 100644 --- a/tests/openmp-rpm/test.spec +++ b/tests/openmp-rpm/test.spec @@ -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