mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Add -Wextra do the CXXFLAGS
This already caused one of the commits before, so warnings are always nice :) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@870 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -2503,10 +2503,12 @@ if test "${enable_perl+set}" = set; then
|
||||
fi
|
||||
|
||||
|
||||
appendCXX -Wall -Wextra -Wno-unused
|
||||
|
||||
if test "$DEBUG" != "no"; then
|
||||
appendCXX -Wall -ggdb -D_DEBUG
|
||||
appendCXX -ggdb -D_DEBUG
|
||||
else
|
||||
appendCXX -Wall -O2 -fomit-frame-pointer
|
||||
appendCXX -O2 -fomit-frame-pointer
|
||||
fi
|
||||
|
||||
if test "$IPV6" != "no"; then
|
||||
|
||||
+5
-3
@@ -84,11 +84,13 @@ AC_ARG_ENABLE( [openssl],
|
||||
AC_ARG_ENABLE( [perl],
|
||||
AC_HELP_STRING([--disable-perl], [disable perl]),
|
||||
[if test "$enableval" = "no" ; then NOPERL=1; fi],)
|
||||
|
||||
|
||||
appendCXX -Wall -Wextra -Wno-unused
|
||||
|
||||
if test "$DEBUG" != "no"; then
|
||||
appendCXX -Wall -ggdb -D_DEBUG
|
||||
appendCXX -ggdb -D_DEBUG
|
||||
else
|
||||
appendCXX -Wall -O2 -fomit-frame-pointer
|
||||
appendCXX -O2 -fomit-frame-pointer
|
||||
fi
|
||||
|
||||
if test "$IPV6" != "no"; then
|
||||
|
||||
Reference in New Issue
Block a user