]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
force disable FAT_RUNTIME on MacOS on Arm
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Fri, 8 Sep 2023 07:08:18 +0000 (10:08 +0300)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Fri, 8 Sep 2023 07:08:18 +0000 (10:08 +0300)
cmake/arch.cmake

index 6dd183b9916b8ae76f99d6285bf567b9b8e58e94..2a94e93f5729991d74188c9c34cb522bf30c802a 100644 (file)
@@ -24,6 +24,9 @@ int main() {
 endif ()
 
 if (ARCH_AARCH64)
+    if (APPLE)
+       set (FAT_RUNTIME OFF)
+    endif()
     set(PREV_FLAGS "${CMAKE_C_FLAGS}")
     if (BUILD_SVE2_BITPERM)
         set(CMAKE_C_FLAGS "-march=${GNUCC_ARCH} ${CMAKE_C_FLAGS}")