فهرست منبع

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 17 سال پیش
والد
کامیت
9ffa1e7abb
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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"