File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -209,15 +209,13 @@ function(add_pure_swift_host_library name)
209209 # Avoid introducing an implicit dependency on the string-processing library.
210210 if (SWIFT_SUPPORTS_DISABLE_IMPLICIT_STRING_PROCESSING_MODULE_IMPORT)
211211 target_compile_options (${name} PRIVATE
212- $<$<COMPILE_LANGUAGE:Swift>:-Xfrontend>
213- $<$<COMPILE_LANGUAGE:Swift>:-disable-implicit-string -processing-module-import>)
212+ $<$<COMPILE_LANGUAGE:Swift>:"SHELL:-Xfrontend -disable-implicit-string-processing-module-import" >)
214213 endif ()
215214
216215 # Same for backtracing
217216 if (SWIFT_SUPPORTS_DISABLE_IMPLICIT_BACKTRACING_MODULE_IMPORT)
218217 target_compile_options (${name} PRIVATE
219- $<$<COMPILE_LANGUAGE:Swift>:-Xfrontend>
220- $<$<COMPILE_LANGUAGE:Swift>:-disable-implicit-backtracing-module-import>)
218+ $<$<COMPILE_LANGUAGE:Swift>:"SHELL:-Xfrontend -disable-implicit-backtracing-module-import" >)
221219 endif ()
222220
223221 # The compat56 library is not available in current toolchains. The stage-0
You can’t perform that action at this time.
0 commit comments