0005-Really-disable-OpenMP-if-too-old.patch 817 B

1234567891011121314151617181920212223242526
  1. From 662a367f427d653c6b8fbc7fbd1ace5ba120a25f Mon Sep 17 00:00:00 2001
  2. From: Michal Domonkos <mdomonko@redhat.com>
  3. Date: Thu, 3 Dec 2020 15:11:57 +0100
  4. Subject: [PATCH] Really disable OpenMP if too old
  5. Fix up for commit 6a780f1.
  6. [Retrieved from:
  7. https://github.com/rpm-software-management/rpm/pull/1455]
  8. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  9. ---
  10. configure.ac | 1 +
  11. 1 file changed, 1 insertion(+)
  12. diff --git a/configure.ac b/configure.ac
  13. index c853cd9af..beb65ff8a 100644
  14. --- a/configure.ac
  15. +++ b/configure.ac
  16. @@ -187,6 +187,7 @@ AS_IF([test "x$ac_cv_prog_c_openmp" != x &&
  17. AC_DEFINE(ENABLE_OPENMP, 1, [Enable multithreading support?])
  18. ],
  19. [AC_MSG_RESULT([no])
  20. + OPENMP_CFLAGS=
  21. if test "$enable_openmp" = "yes"; then
  22. AC_MSG_ERROR([OpenMP too old])
  23. fi