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)