mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
Strip the executables.
While nq-sdl.exe was ok (~6.5MB vs ~4.2M), qw-client-sdl.exe was crazy: ~17MB vs ~7.4.
This commit is contained in:
parent
03246e220f
commit
dffe1598b8
1 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,9 @@ if test $do_win32 -eq 1; then
|
|||
mkdir -p ${qf_win32_dir}/pkgconfig ${qf_win64_dir}/pkgconfig
|
||||
mv ${qf_win32_dir}/QF/*.pc ${qf_win32_dir}/pkgconfig
|
||||
mv ${qf_win64_dir}/QF/*.pc ${qf_win64_dir}/pkgconfig
|
||||
#$MINGW/bin/strip --strip-unneeded "$qf_win32"/bin/*.exe
|
||||
eval `grep MINGW= ../tools/cross/mingw/cross-configure.sh`
|
||||
$MINGW/usr/bin/i686-pc-mingw32-strip --strip-unneeded "$qf_win32"/bin/*.exe
|
||||
$MINGW/usr/bin/x86_64-w64-mingw32-strip --strip-unneeded "$qf_win64"/bin/*.exe
|
||||
../tools/build_scripts/qf-win32.py "$ver-win32" quakeforge "$qf_win32"
|
||||
../tools/build_scripts/qf-win32.py "$ver-win64" quakeforge "$qf_win64"
|
||||
mv *.zip $RELEASE
|
||||
|
|
Loading…
Reference in a new issue