use -O0 optimizations on the gcc build, as this is faster
This swaps the optimization levels used by default and alternate configurations, so that gcc gets -O0, so the compiler will do less work. gcc does not run the wml unit tests so this should definitely save time.
This commit is contained in:
parent
3149086891
commit
0f2dc9b17b
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@ before_install:
|
|||
- export CPP_TESTS=true
|
||||
- export CHECK_UTF8=true
|
||||
- export STRICT_COMPILATION=true
|
||||
- export EXTRA_FLAGS_RELEASE=""
|
||||
- export EXTRA_FLAGS_RELEASE="-O0"
|
||||
- if [ "$ALTERNATE_CONFIGURATION" = true ]; then export STRICT_COMPILATION=false
|
||||
- if [ "$ALTERNATE_CONFIGURATION" = true ]; then export EXTRA_FLAGS_RELEASE="-O0"
|
||||
- if [ "$ALTERNATE_CONFIGURATION" = true ]; then export EXTRA_FLAGS_RELEASE=""
|
||||
- if [ "$CXX" = "g++" ]; then export TARGETS="wesnoth test"; fi
|
||||
- if [ "$CXX" = "g++" ]; then export WML_TESTS=false; fi
|
||||
# - if [ "$CXX" = "g++" ]; then export CPP_TESTS=false; fi
|
||||
|
|
Loading…
Add table
Reference in a new issue