aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch')
-rw-r--r--sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch b/sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch
new file mode 100644
index 000000000..b3babf764
--- /dev/null
+++ b/sci-physics/qcdloop/files/qcdloop-2.0.9-cxx.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2022-09-19 11:13:08.777453946 +0200
++++ b/CMakeLists.txt 2022-09-19 11:13:27.315507011 +0200
+@@ -20,7 +20,7 @@
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+ set(VERSION "\"2.0.9\"")
+-set(CMAKE_CXX_FLAGS "-Wall -Wextra -march=nocona -mtune=haswell -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -fext-numeric-literals")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fext-numeric-literals")
+ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address -fPIC ${CMAKE_CXX_FLAGS}" CACHE STRING "debug compile flags" FORCE)
+ set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-fsanitize=address" CACHE STRING "debug linker flags" FORCE)
+ set(prefix ${CMAKE_INSTALL_PREFIX})