Added gcc compiler flags to silence some warnings in non-debug builds (bugreport:1993)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13073 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2008-08-12 04:52:39 +00:00
parent b45e112b9e
commit 9ffa1e7abb
2 changed files with 2 additions and 0 deletions

1
configure vendored
View File

@ -4530,6 +4530,7 @@ fi
case $enable_debug in
"no")
# default value
CFLAGS="$CFLAGS -Wno-unused -Wno-parentheses"
;;
"yes")
CFLAGS="$CFLAGS -g -DDEBUG"

View File

@ -352,6 +352,7 @@ fi
case $enable_debug in
"no")
# default value
CFLAGS="$CFLAGS -Wno-unused -Wno-parentheses"
;;
"yes")
CFLAGS="$CFLAGS -g -DDEBUG"