Skip to content

Commit 9c45006

Browse files
committed
build.ps1: remove some unnecessary flags
Adjust the build to remove some flags for `swift build` that are no longer necessary now that we stage the toolchain better and setup the environment, we can simplify the build.
1 parent 185ff12 commit 9c45006

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

utils/build.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,11 +1868,7 @@ function Build-SPMProject {
18681868
$Arguments = @(
18691869
"--scratch-path", $Bin,
18701870
"--package-path", $Src,
1871-
"-c", $Configuration,
1872-
"-Xbuild-tools-swiftc", "-I${env:SDKROOT}\usr\lib\swift",
1873-
"-Xbuild-tools-swiftc", "-L${env:SDKROOT}\usr\lib\swift\windows",
1874-
"-Xcc", "-I${env:SDKROOT}\usr\lib\swift",
1875-
"-Xlinker", "-L${env:SDKROOT}\usr\lib\swift\windows"
1871+
"-c", $Configuration
18761872
)
18771873
if ($DebugInfo) {
18781874
if ($Platform.OS -eq [OS]::Windows -and $SwiftDebugFormat -eq "codeview") {

0 commit comments

Comments
 (0)