about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-03-30 16:00:25 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-03-30 16:00:25 +0200
commit104e58225327afcc6972a96a569aea77bb998b19 (patch)
tree1071e134fa05572dc321f258803fddab5dd8c080
parent03c69338f5aec5ae8c47bae3d8d91de3270a941e (diff)
downloadbox64-104e58225327afcc6972a96a569aea77bb998b19.tar.gz
box64-104e58225327afcc6972a96a569aea77bb998b19.zip
[ARM64_DYNAREC] Another attempt to get correct assembly file handling
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e5e93b95..eafee536 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -233,7 +233,8 @@ if(ARM_DYNAREC)
     if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_C_COMPILER_VERSION GREATER_EQUAL 14.0)
         set(CMAKE_ASM_FLAGS  "-pipe -mcpu=generic-armv8-a+crc+crypto")
     else()
-        set(CMAKE_ASM_FLAGS  "-pipe -mcpu=generic -march=armv8.2-a+crc+crypto")
+        #putting a random cpu that have 8.2 architecture so assembly can be build. the use of the feature are conditionnal anyway
+        set(CMAKE_ASM_FLAGS  "-pipe -mcpu=cortex-a76 -march=armv8.2-a+crc+crypto")
     endif()
 endif()
 if(ANDROID)