summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-12 04:52:39 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-12 04:52:39 +0000
commit814fdef302ca6522d934d3e4e26c7c98bed053ec (patch)
tree28e3f6b4a4bedb1243d627f3bcb67e6ed41c1436
parentfd7816cec633eb3b7ff3a03b4a65d78449e49772 (diff)
downloadhercules-814fdef302ca6522d934d3e4e26c7c98bed053ec.tar.gz
hercules-814fdef302ca6522d934d3e4e26c7c98bed053ec.tar.bz2
hercules-814fdef302ca6522d934d3e4e26c7c98bed053ec.tar.xz
hercules-814fdef302ca6522d934d3e4e26c7c98bed053ec.zip
Added gcc compiler flags to silence some warnings in non-debug builds (bugreport:1993)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13073 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rwxr-xr-xconfigure1
-rw-r--r--configure.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 66966f493..af8acf6b5 100755
--- a/configure
+++ b/configure
@@ -4530,6 +4530,7 @@ fi
case $enable_debug in
"no")
# default value
+ CFLAGS="$CFLAGS -Wno-unused -Wno-parentheses"
;;
"yes")
CFLAGS="$CFLAGS -g -DDEBUG"
diff --git a/configure.in b/configure.in
index aab1f58fb..c8252048a 100644
--- a/configure.in
+++ b/configure.in
@@ -352,6 +352,7 @@ fi
case $enable_debug in
"no")
# default value
+ CFLAGS="$CFLAGS -Wno-unused -Wno-parentheses"
;;
"yes")
CFLAGS="$CFLAGS -g -DDEBUG"