summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Domonkos <mdomonko@redhat.com>2020-12-03 15:11:57 +0100
committerPanu Matilainen <pmatilai@redhat.com>2020-12-10 13:28:07 +0200
commit768ecc02b22060f32402e9dc224d2ef578d0fb28 (patch)
tree2fccc72e6e85fedafc28b5b390a6f01e22a36771
parent21675f285cff36e29ac95553e9f6f08ba74d44b9 (diff)
downloadrpm-768ecc02b22060f32402e9dc224d2ef578d0fb28.tar.gz
Really disable OpenMP if too old
Fix up for commit 6a780f1. (cherry picked from commit 89c6a9d607e2c2ea3f2ece5376f493525665eb28)
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a78c8d9fa..a4be71ea3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,6 +195,7 @@ AS_IF([test "x$ac_cv_prog_c_openmp" != x &&
AC_DEFINE(ENABLE_OPENMP, 1, [Enable multithreading support?])
],
[AC_MSG_RESULT([no])
+ OPENMP_CFLAGS=
if test "$enable_openmp" = "yes"; then
AC_MSG_ERROR([OpenMP too old])
fi