summaryrefslogtreecommitdiff
path: root/.tools/scripts/init.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-10 11:06:17 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-10 11:06:17 -0300
commit059be38b90579619fa9b4dd67f94093b4bdebb10 (patch)
tree7eef3dde84799cf0545a9b55e96ad9f131367b91 /.tools/scripts/init.sh
parentd20603aad35023615cb7b13a71d95ba9c42c4a97 (diff)
downloadserverdata-059be38b90579619fa9b4dd67f94093b4bdebb10.tar.gz
serverdata-059be38b90579619fa9b4dd67f94093b4bdebb10.tar.bz2
serverdata-059be38b90579619fa9b4dd67f94093b4bdebb10.tar.xz
serverdata-059be38b90579619fa9b4dd67f94093b4bdebb10.zip
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)
Diffstat (limited to '.tools/scripts/init.sh')
-rwxr-xr-x.tools/scripts/init.sh4
1 files changed, 2 insertions, 2 deletions
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"