Browse Source

scripts: gha: win32: enable LTO by default

pull/2/head
Alibek Omarov 1 year ago
parent
commit
5549e7301c
  1. 2
      scripts/gha/build_win32.sh

2
scripts/gha/build_win32.sh

@ -11,7 +11,7 @@ fi @@ -11,7 +11,7 @@ fi
# NOTE: to build with other version use --msvc_version during configuration
# NOTE: sometimes you may need to add WinSDK to %PATH%
./waf.bat configure -s "SDL2_VC" -T "release" --enable-utils --enable-tests $AMD64 || die_configure
./waf.bat configure -s "SDL2_VC" -T release --enable-utils --enable-tests --enable-lto $AMD64 || die_configure
./waf.bat build || die
./waf.bat install --destdir=. || die

Loading…
Cancel
Save