Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tag as only for 64-bit platforms Fix build on aarch64 (patch out -march=native) Reported by: pkg-fallout
- Loading branch information
Jason W. Bacon
authored and
Jason W. Bacon
committed
Jul 16, 2023
1 parent
63e5ba4
commit 7d4be2d
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- CMakeLists.txt.orig 2023-07-16 13:25:06 UTC | ||
+++ CMakeLists.txt | ||
@@ -20,8 +20,6 @@ if(COMPILATION_ARCH MATCHES "OFF") | ||
message("Disabling native architecture compilation (including AVX2)") | ||
else(COMPILATION_ARCH MATCHES "OFF") | ||
message("Compilation architecture: ${COMPILATION_ARCH}") | ||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=${COMPILATION_ARCH}") | ||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${COMPILATION_ARCH}") | ||
endif(COMPILATION_ARCH MATCHES "OFF") | ||
|
||
if(ENABLE_AVX2 MATCHES "OFF") |