about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-07-14 12:11:08 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-07-14 12:11:08 +0200
commit6168fa4275e8cf0f1477ea9e6ee9c603f17e0caf (patch)
treedeef60a973d1f5dd0a144ee9d1278e17f7f91994
parentb61a788ce77b9605d3917a88f64e875d082b9ca6 (diff)
downloadbox64-6168fa4275e8cf0f1477ea9e6ee9c603f17e0caf.tar.gz
box64-6168fa4275e8cf0f1477ea9e6ee9c603f17e0caf.zip
Remove native flag from generic ARM64 build profile, it doesn't work when cross-compiling
-rwxr-xr-xCMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cdd419a5..c879bd9f 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -166,7 +166,7 @@ elseif(LX2160A)
 elseif(SW64)
     add_definitions(-DSW64)
 elseif(ARM64)
-    add_definitions(-pipe -mcpu=native)
+    #add_definitions(-pipe -march=native)
     set(CMAKE_ASM_FLAGS  "-pipe -march=armv8-a+crc+simd+crypto")
 elseif(ARM_DYNAREC)
     set(CMAKE_ASM_FLAGS  "-pipe -march=armv8-a+crc+simd+crypto")