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
This commit is contained in:
parent
b45e112b9e
commit
9ffa1e7abb
1
configure
vendored
1
configure
vendored
@ -4530,6 +4530,7 @@ fi
|
||||
case $enable_debug in
|
||||
"no")
|
||||
# default value
|
||||
CFLAGS="$CFLAGS -Wno-unused -Wno-parentheses"
|
||||
;;
|
||||
"yes")
|
||||
CFLAGS="$CFLAGS -g -DDEBUG"
|
||||
|
@ -352,6 +352,7 @@ fi
|
||||
case $enable_debug in
|
||||
"no")
|
||||
# default value
|
||||
CFLAGS="$CFLAGS -Wno-unused -Wno-parentheses"
|
||||
;;
|
||||
"yes")
|
||||
CFLAGS="$CFLAGS -g -DDEBUG"
|
||||
|
Loading…
x
Reference in New Issue
Block a user