Skip to content

Commit 422008e

Browse files
compnerdbnbarham
authored andcommitted
Update build-windows-toolchain.bat
1 parent e201aa0 commit 422008e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build-windows-toolchain.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,11 @@ cmake ^
209209
-D CMAKE_Swift_FLAGS="-sdk %BuildRoot%/toolchains/swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a/PFiles64/Swift/Platforms/Windows.platform/Developer/SDKs/Windows.sdk" ^
210210
-D CMAKE_EXE_LINKER_FLAGS="/INCREMENTAL:NO" ^
211211
-D CMAKE_SHARED_LINKER_FLAGS="/INCREMENTAL:NO" ^
212+
-D CMAKE_Swift_FLAGS_RELEASE="-O" ^
213+
-D CMAKE_Swift_FLAGS_RELWITHDEBINFO="-O" ^
212214

213215
-D CMAKE_INSTALL_PREFIX="%InstallRoot%" ^
214216

215-
-D SWIFT_SYNTAX_ENABLE_WMO_PRE_3_26=YES ^
216-
217217
-G Ninja ^
218218
-S %SourceRoot%\swift-syntax || (exit /b)
219219
cmake --build %BuildRoot%\99 || (exit /b)

0 commit comments

Comments
 (0)