summaryrefslogtreecommitdiff
path: root/devel/lace14/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/lace14/files')
-rw-r--r--devel/lace14/files/patch-CMakeLists.txt34
-rw-r--r--devel/lace14/files/patch-benchmarks_CMakeLists.txt11
2 files changed, 45 insertions, 0 deletions
diff --git a/devel/lace14/files/patch-CMakeLists.txt b/devel/lace14/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..0df89b0ef40c
--- /dev/null
+++ b/devel/lace14/files/patch-CMakeLists.txt
@@ -0,0 +1,34 @@
+--- CMakeLists.txt.orig 2023-11-18 14:52:47 UTC
++++ CMakeLists.txt
+@@ -25,11 +25,11 @@ endif()
+ endif()
+ endif()
+
+-add_library(lace STATIC
++add_library(lace
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/lace.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/lace.h
+ )
+-add_library(lace14 STATIC
++add_library(lace14
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/lace14.c
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/lace14.h
+ )
+@@ -56,7 +56,7 @@ target_compile_options(lace PRIVATE
+
+ target_compile_options(lace PRIVATE
+ $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>:
+- -pipe -march=native
++ -pipe
+ $<$<CONFIG:Debug>:-O0 -Wall -Wextra -Wpedantic>>
+ $<$<CXX_COMPILER_ID:MSVC>:
+ $<$<CONFIG:Debug>:/Od /Wall /Zi>>
+@@ -64,7 +64,7 @@ target_compile_options(lace14 PRIVATE
+
+ target_compile_options(lace14 PRIVATE
+ $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>:
+- -pipe -march=native
++ -pipe
+ $<$<CONFIG:Debug>:-O0 -Wall -Wextra -Wpedantic>>
+ $<$<CXX_COMPILER_ID:MSVC>:
+ $<$<CONFIG:Debug>:/Od /Wall /Zi>>
diff --git a/devel/lace14/files/patch-benchmarks_CMakeLists.txt b/devel/lace14/files/patch-benchmarks_CMakeLists.txt
new file mode 100644
index 000000000000..89d193cca126
--- /dev/null
+++ b/devel/lace14/files/patch-benchmarks_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- benchmarks/CMakeLists.txt.orig 2025-08-19 10:37:46 UTC
++++ benchmarks/CMakeLists.txt
+@@ -4,7 +4,7 @@ macro(set_compilation_settings NAME)
+ target_compile_features(${NAME} PRIVATE c_std_11 cxx_std_11)
+ target_compile_options(${NAME} PRIVATE
+ $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>:
+- -pipe -march=native -Wall -Wextra -Wpedantic -Wno-deprecated>
++ -pipe -Wall -Wextra -Wpedantic -Wno-deprecated>
+ $<$<CXX_COMPILER_ID:MSVC>: /W4>
+ )
+ if (CMAKE_BUILD_TYPE STREQUAL "Release")