File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -112,22 +112,23 @@ list(APPEND _Foundation_common_build_flags
112
112
"-Wno-unused-function"
113
113
"-Wno-microsoft-enum-forward-reference"
114
114
"-Wno-int-conversion"
115
- "-fcf-runtime-abi=swift"
116
115
"-fblocks" )
117
116
118
117
if (NOT "${CMAKE_C_SIMULATE_ID} " STREQUAL "MSVC" )
119
118
list (APPEND _Foundation_common_build_flags
120
119
"-fconstant-cfstrings"
121
120
"-fdollars-in-identifiers"
122
- "-fno-common" )
121
+ "-fno-common"
122
+ "-fcf-runtime-abi=swift" )
123
123
124
124
if (NOT CMAKE_SYSTEM_NAME STREQUAL OpenBSD )
125
125
list (APPEND _Foundation_common_build_flags
126
126
"-fexceptions" )
127
127
endif ()
128
128
else ()
129
129
list (APPEND _Foundation_common_build_flags
130
- "/EHsc" )
130
+ "/EHsc"
131
+ "/clang:-fcf-runtime-abi=swift" )
131
132
endif ()
132
133
133
134
if (CMAKE_BUILD_TYPE STREQUAL Debug )
You can’t perform that action at this time.
0 commit comments