From 814fdef302ca6522d934d3e4e26c7c98bed053ec Mon Sep 17 00:00:00 2001 From: ultramage Date: Tue, 12 Aug 2008 04:52:39 +0000 Subject: 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 --- configure | 1 + configure.in | 1 + 2 files changed, 2 insertions(+) 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" -- cgit v1.2.3-60-g2f50