mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
scripts: enable LTO for Linux builds too
This commit is contained in:
parent
2378331e47
commit
fa0e7e4369
@ -78,7 +78,7 @@ modules:
|
|||||||
build-options: *compat-i386-opts
|
build-options: *compat-i386-opts
|
||||||
build-commands:
|
build-commands:
|
||||||
- |
|
- |
|
||||||
python waf configure -T release --enable-all-renderers --enable-packaging --prefix=/app --libdir=/app/lib32
|
python waf configure -T release --enable-all-renderers --enable-packaging --enable-lto --prefix=/app --libdir=/app/lib32
|
||||||
python waf build
|
python waf build
|
||||||
python waf install --destdir=/
|
python waf install --destdir=/
|
||||||
mkdir -p /app/bin
|
mkdir -p /app/bin
|
||||||
|
@ -50,9 +50,9 @@ build_engine()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "dedicated" ]; then
|
if [ "$1" = "dedicated" ]; then
|
||||||
./waf configure -T release -d $AMD64 --enable-tests || die_configure
|
./waf configure -T release -d $AMD64 --enable-tests --enable-lto || die_configure
|
||||||
elif [ "$1" = "full" ]; then
|
elif [ "$1" = "full" ]; then
|
||||||
./waf configure --sdl2=SDL2_linux -T release --enable-stb $AMD64 --enable-utils --enable-tests || die_confgure
|
./waf configure --sdl2=SDL2_linux -T release --enable-stb $AMD64 --enable-utils --enable-tests --enable-lto || die_confgure
|
||||||
else
|
else
|
||||||
die
|
die
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user