From 80afacec5b44e89b6f39e57249a57f8b134e1f2d Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Thu, 17 Jun 2021 13:05:13 +0200 Subject: [PATCH] nvcc: Add -fopenmp to LDFLAGS --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 4e5e33c8..02720d36 100644 --- a/configure.ac +++ b/configure.ac @@ -390,6 +390,7 @@ case ${CXXTEST} in CXXFLAGS="$CXXFLAGS -Xcompiler -fno-strict-aliasing --expt-extended-lambda --expt-relaxed-constexpr" if test $ac_openmp = yes; then CXXFLAGS="$CXXFLAGS -Xcompiler -fopenmp" + LDFLAGS="$LDFLAGS -Xcompiler -fopenmp" fi ;; hipcc)