Skip to content

Commit 21598aa

Browse files
authored
Removed manual arch setting for ASM (#224)
1 parent 6fa909e commit 21598aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios.toolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ else()
992992
set(CMAKE_OBJCXX_LINK_FLAGS "${C_TARGET_FLAGS} ${SDK_NAME_VERSION_FLAGS} -Wl,-search_paths_first ${CMAKE_OBJCXX_LINK_FLAGS}" CACHE INTERNAL
993993
"Flags used by the compiler for all OBJCXX link types.")
994994
endif()
995-
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp -arch ${CMAKE_OSX_ARCHITECTURES} ${APPLE_TARGET_TRIPLE_FLAG}" CACHE INTERNAL
995+
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp" CACHE INTERNAL
996996
"Flags used by the compiler for all ASM build types.")
997997
endif()
998998

0 commit comments

Comments
 (0)