diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-03-30 16:00:25 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-03-30 16:00:25 +0200 |
| commit | 104e58225327afcc6972a96a569aea77bb998b19 (patch) | |
| tree | 1071e134fa05572dc321f258803fddab5dd8c080 | |
| parent | 03c69338f5aec5ae8c47bae3d8d91de3270a941e (diff) | |
| download | box64-104e58225327afcc6972a96a569aea77bb998b19.tar.gz box64-104e58225327afcc6972a96a569aea77bb998b19.zip | |
[ARM64_DYNAREC] Another attempt to get correct assembly file handling
| -rw-r--r-- | CMakeLists.txt | 3 |
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) |