We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 082b0dc commit ad15f44Copy full SHA for ad15f44
CMakeLists.txt
@@ -112,22 +112,23 @@ list(APPEND _Foundation_common_build_flags
112
"-Wno-unused-function"
113
"-Wno-microsoft-enum-forward-reference"
114
"-Wno-int-conversion"
115
- "-fcf-runtime-abi=swift"
116
"-fblocks")
117
118
if(NOT "${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
119
list(APPEND _Foundation_common_build_flags
120
"-fconstant-cfstrings"
121
"-fdollars-in-identifiers"
122
- "-fno-common")
+ "-fno-common"
+ "-fcf-runtime-abi=swift")
123
124
if(NOT CMAKE_SYSTEM_NAME STREQUAL OpenBSD)
125
126
"-fexceptions")
127
endif()
128
else()
129
130
- "/EHsc")
+ "/EHsc"
131
+ "/clang:-fcf-runtime-abi=swift")
132
133
134
if(CMAKE_BUILD_TYPE STREQUAL Debug)
0 commit comments