diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-12 04:52:39 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-12 04:52:39 +0000 |
commit | 814fdef302ca6522d934d3e4e26c7c98bed053ec (patch) | |
tree | 28e3f6b4a4bedb1243d627f3bcb67e6ed41c1436 | |
parent | fd7816cec633eb3b7ff3a03b4a65d78449e49772 (diff) | |
download | hercules-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-x | configure | 1 | ||||
-rw-r--r-- | configure.in | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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" |