From 059be38b90579619fa9b4dd67f94093b4bdebb10 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Jul 2018 11:06:17 -0300 Subject: Add hercules only compiled flags for disable some warnings in gcc-7 and gcc-8 (PS. Moubootaur legends use gcc-4.9 so this is mostly for support. ~ Jesusalva) --- .tools/scripts/init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.tools') diff --git a/.tools/scripts/init.sh b/.tools/scripts/init.sh index 2e9b84175..38818f384 100755 --- a/.tools/scripts/init.sh +++ b/.tools/scripts/init.sh @@ -117,8 +117,8 @@ function make_server { echo "autoreconf -i" autoreconf -i check_error $? - echo ./configure $1 CPPFLAGS=\"${CPPFLAGS}\" - ./configure $1 CPPFLAGS="$CPPFLAGS" + echo ./configure $1 CPPFLAGS=\"${CPPFLAGS}${HERCCPPFLAGS}\" + ./configure $1 CPPFLAGS="$CPPFLAGS$HERCCPPFLAGS" export err="$?" if [ "$err" != 0 ]; then echo "Error $err" -- cgit v1.2.3-60-g2f50