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:
Chris Beck 2014-07-04 15:36:35 -04:00
parent 3149086891
commit 0f2dc9b17b

View file

@ -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