Skip to content

Commit 434503a

Browse files
authored
Merge pull request #2388 from rintaro/cmake-abi-name-shell
[CMake] -Xfrontend paired arguments are unique by the pair
2 parents dda9753 + 2fec379 commit 434503a

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)