Skip to content

Commit 2fec379

Browse files
committed
[CMake] -Xfrontend paired arguments are unique by the pair
1 parent 06b57f3 commit 2fec379

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/modules/AddSwiftHostLibrary.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ function(add_swift_syntax_library name)
8282
# ABI name prefix. this can be used to avoid name conflicts.
8383
target_compile_options("${name}" PRIVATE
8484
$<$<COMPILE_LANGUAGE:Swift>:
85-
"SHELL:-Xfrontend -module-abi-name"
86-
"SHELL:-Xfrontend ${SWIFT_MODULE_ABI_NAME_PREFIX}${name}"
85+
"SHELL:-Xfrontend -module-abi-name -Xfrontend ${SWIFT_MODULE_ABI_NAME_PREFIX}${name}"
8786
>)
8887
endif()
8988

0 commit comments

Comments
 (0)