Skip to content

Commit d5f127c

Browse files
committed
Don't add -arch explictly to stdlib compile flags on Darwin
Rely instead on setting the `OSX_ARCHITECTURES` property (swiftlang#38415) Address rdar://96087734
1 parent 0d1c336 commit d5f127c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ function(_add_target_variant_c_compile_link_flags)
104104
# of options by target_compile_options -- this way no undesired
105105
# side effects are introduced should a new search path be added.
106106
list(APPEND result
107-
"-arch" "${CFLAGS_ARCH}"
108107
"-F${SWIFT_SDK_${CFLAGS_SDK}_PATH}/../../../Developer/Library/Frameworks")
109108
endif()
110109

0 commit comments

Comments
 (0)