summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gcc6_lto.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-27 17:50:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-27 17:50:42 +0300
commitf4688f24a52adb6f778cfb2eebf8904d8d3b297f (patch)
treeda384d67bd48b26423ebb0be0e114d687a17f4a4 /tools/ci/jobs/gcc6_lto.sh
parent8b3f58c49f7f82e559911226530873068f13db16 (diff)
downloadmanaplus-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.gz
manaplus-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.bz2
manaplus-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.tar.xz
manaplus-f4688f24a52adb6f778cfb2eebf8904d8d3b297f.zip
Add debug flags into ci scripts.
Diffstat (limited to 'tools/ci/jobs/gcc6_lto.sh')
-rwxr-xr-xtools/ci/jobs/gcc6_lto.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/ci/jobs/gcc6_lto.sh b/tools/ci/jobs/gcc6_lto.sh
index 5488715f3..247c4d57f 100755
--- a/tools/ci/jobs/gcc6_lto.sh
+++ b/tools/ci/jobs/gcc6_lto.sh
@@ -14,12 +14,14 @@ export LOGFILE=gcc6.log
source ./tools/ci/scripts/init.sh
-export CXXFLAGS="-ggdb3 -pipe -ffast-math -O9 -flto -fwhole-program \
+export CXXFLAGS="$CXXFLAGS -ggdb3 -pipe -ffast-math -O9 -flto -fwhole-program \
-fno-omit-frame-pointer -funswitch-loops -D_FORTIFY_SOURCE=2 -std=gnu++1z \
--Wno-attributes"
+-Wno-attributes -fno-omit-frame-pointer"
source ./tools/ci/flags/gcc6.sh
+export CXXFLAGS="$CXXFLAGS $POST_CXXFLAGS"
+
do_init
run_configure --enable-werror $*
run_make