Skip to content

Commit

Permalink
adding the -lgomp flag check for clang++ compatibility of openmp usin…
Browse files Browse the repository at this point in the history
…g autotools
  • Loading branch information
guilhermesena1 committed Sep 22, 2022
1 parent ed7aa01 commit 84bfa33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/ax_openmp.m4
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ax_cv_[]_AC_LANG_ABBREV[]_openmp=unknown
# -xopenmp (Sun), -omp (Tru64),
# -qsmp=omp (AIX),
# none
ax_openmp_flags="-fopenmp -openmp -qopenmp -mp -xopenmp -omp -lomp -qsmp=omp none"
ax_openmp_flags="-fopenmp -openmp -qopenmp -mp -xopenmp -omp -lomp -lgomp -qsmp=omp none"
if test "x$OPENMP_[]_AC_LANG_PREFIX[]FLAGS" != x; then
ax_openmp_flags="$OPENMP_[]_AC_LANG_PREFIX[]FLAGS $ax_openmp_flags"
fi
Expand Down

0 comments on commit 84bfa33

Please sign in to comment.