summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-25 00:10:55 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-25 00:10:55 +0100
commitde0ae51525f1faa43412a9b3d0b6880476ba77dd (patch)
treeac25d8dd70069fb66b68d960ea5f8987029cfc3b
parentacb710d7ecbf820251754d3ad85156d4f7cfc89f (diff)
fixup! fixup! New cdist/arm64 fixes.arm64
-rw-r--r--toolchain/osx-arm64.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/osx-arm64.cmake b/toolchain/osx-arm64.cmake
index 3cdbb0f..c6ee9e6 100644
--- a/toolchain/osx-arm64.cmake
+++ b/toolchain/osx-arm64.cmake
@@ -13,8 +13,8 @@ set(OBJDUMP objdump)
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX})
-set(CMAKE_C_FLAGS "-std=gnu99 -fdata-sections -ffunction-sections" CACHE INTERNAL "c compiler flags")
-set(CMAKE_CXX_FLAGS "-fdata-sections -ffunction-sections" CACHE INTERNAL "cxx compiler flags")
+set(CMAKE_C_FLAGS "-std=gnu99 -fdata-sections -ffunction-sections -arch arm64" CACHE INTERNAL "c compiler flags")
+set(CMAKE_CXX_FLAGS "-fdata-sections -ffunction-sections -arch arm64" CACHE INTERNAL "cxx compiler flags")
set(CMAKE_ASM_FLAGS "" CACHE INTERNAL "asm compiler flags")
if (APPLE)
set(CMAKE_EXE_LINKER_FLAGS "-dead_strip" CACHE INTERNAL "exe link flags")