diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-07-14 12:11:08 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-07-14 12:11:08 +0200 |
| commit | 6168fa4275e8cf0f1477ea9e6ee9c603f17e0caf (patch) | |
| tree | deef60a973d1f5dd0a144ee9d1278e17f7f91994 | |
| parent | b61a788ce77b9605d3917a88f64e875d082b9ca6 (diff) | |
| download | box64-6168fa4275e8cf0f1477ea9e6ee9c603f17e0caf.tar.gz box64-6168fa4275e8cf0f1477ea9e6ee9c603f17e0caf.zip | |
Remove native flag from generic ARM64 build profile, it doesn't work when cross-compiling
| -rwxr-xr-x | CMakeLists.txt | 2 |
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") |