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)
209
209
# Avoid introducing an implicit dependency on the string-processing library.
210
210
if (SWIFT_SUPPORTS_DISABLE_IMPLICIT_STRING_PROCESSING_MODULE_IMPORT )
211
211
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 ">)
214
213
endif()
215
214
216
215
# Same for backtracing
217
216
if (SWIFT_SUPPORTS_DISABLE_IMPLICIT_BACKTRACING_MODULE_IMPORT)
218
217
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 ">)
221
219
endif()
222
220
223
221
# The compat56 library is not available in current toolchains. The stage-0
You can’t perform that action at this time.
0 commit comments