mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Disable UPX by default in appveyor
This commit is contained in:
parent
34534428fd
commit
2aa7ee70fe
1 changed files with 5 additions and 2 deletions
|
@ -19,6 +19,8 @@ environment:
|
||||||
CCACHE_URL: http://alam.srb2.org/ccache.exe
|
CCACHE_URL: http://alam.srb2.org/ccache.exe
|
||||||
CCACHE_COMPRESS: true
|
CCACHE_COMPRESS: true
|
||||||
CCACHE_DIR: C:\Users\appveyor\.ccache
|
CCACHE_DIR: C:\Users\appveyor\.ccache
|
||||||
|
# Disable UPX by default. The user can override this in their Appveyor project settings
|
||||||
|
NOUPX: 1
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- nasm-2.12.01.zip
|
- nasm-2.12.01.zip
|
||||||
|
@ -56,10 +58,11 @@ before_build:
|
||||||
- if [%CONFIGURATION%] == [SDL64] ( x86_64-w64-mingw32-gcc --version ) else ( i686-w64-mingw32-gcc --version )
|
- if [%CONFIGURATION%] == [SDL64] ( x86_64-w64-mingw32-gcc --version ) else ( i686-w64-mingw32-gcc --version )
|
||||||
- mingw32-make --version
|
- mingw32-make --version
|
||||||
- nasm -v
|
- nasm -v
|
||||||
- upx -V
|
- if not [%NOUPX%] == [1] ( upx -V )
|
||||||
- ccache -V
|
- ccache -V
|
||||||
- ccache -s
|
- ccache -s
|
||||||
- set "SRB2_MFLAGS=-C src WARNINGMODE=1 CCACHE=1 GCC72=1 NOOBJDUMP=1"
|
- if [%NOUPX%] == [1] ( set "NOUPX=NOUPX=1" ) else ( set "NOUPX=" )
|
||||||
|
- set "SRB2_MFLAGS=-C src WARNINGMODE=1 CCACHE=1 GCC72=1 NOOBJDUMP=1 %NOUPX%"
|
||||||
- if [%CONFIGURATION%] == [SDL64] (
|
- if [%CONFIGURATION%] == [SDL64] (
|
||||||
set "SRB2_MFLAGS=%SRB2_MFLAGS% MINGW64=1 SDL=1"
|
set "SRB2_MFLAGS=%SRB2_MFLAGS% MINGW64=1 SDL=1"
|
||||||
) else (
|
) else (
|
||||||
|
|
Loading…
Reference in a new issue