Explorar o código

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
ultramage %!s(int64=17) %!d(string=hai) anos
pai
achega
9ffa1e7abb
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      configure
  2. 1 0
      configure.in

+ 1 - 0
configure

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

+ 1 - 0
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"