Skip to content

Commit fc2d621

Browse files
authored
Merge pull request #60995 from edymtt/remove-redundant-arch-argument-in-darwin
Don't add `-arch` explictly to stdlib compile flags on Darwin
2 parents 8491f52 + d5f127c commit fc2d621

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)