aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-02-23 08:31:31 -0600
committerBrent Cook <busterb@gmail.com>2023-02-23 08:31:31 -0600
commita498c6a7c9077b257a2f2a860a12748029d82bcf (patch)
tree3add18a42ad861784e9907205fcd5f6ee123f850 /CMakeLists.txt
parenta64adc58115b9e54b3494c4ba7b56392dd58286e (diff)
downloadportable-a498c6a7c9077b257a2f2a860a12748029d82bcf.tar.gz
portable-a498c6a7c9077b257a2f2a860a12748029d82bcf.tar.bz2
portable-a498c6a7c9077b257a2f2a860a12748029d82bcf.zip
only disable asm on aarch64 for now, enable for other archs
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66d04ba..599515f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -345,9 +345,7 @@ if(ENABLE_ASM)
345 endif() 345 endif()
346 add_definitions(-DHAVE_GNU_STACK) 346 add_definitions(-DHAVE_GNU_STACK)
347 elseif(APPLE AND "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64") 347 elseif(APPLE AND "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
348 # disable for now (.section .rodata invalid) 348 set(HOST_ASM_MACOSX_X86_64 true)
349 # set(HOST_ASM_MACOSX_X86_64 true)
350 set(ENABLE_ASM false)
351 elseif(MSVC AND ("${CMAKE_GENERATOR}" MATCHES "Win64" OR "${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64")) 349 elseif(MSVC AND ("${CMAKE_GENERATOR}" MATCHES "Win64" OR "${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64"))
352 set(HOST_ASM_MASM_X86_64 true) 350 set(HOST_ASM_MASM_X86_64 true)
353 ENABLE_LANGUAGE(ASM_MASM) 351 ENABLE_LANGUAGE(ASM_MASM)