mirror of
https://github.com/znc/znc.git
synced 2026-08-08 18:03:22 +02:00
Only use -Wall etc for GCC
I doubt some other compiler (ICC?) would work with this, but meh... git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@888 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-3
@@ -88,8 +88,6 @@ AC_ARG_ENABLE( [sasl],
|
||||
AC_HELP_STRING([--enable-sasl], [enable sasl]),
|
||||
[if test "$enableval" = "yes" ; then SASL=1; fi],)
|
||||
|
||||
appendCXX -Wall -W -Wno-unused
|
||||
|
||||
if test "$DEBUG" != "no"; then
|
||||
appendCXX -ggdb -D_DEBUG
|
||||
else
|
||||
@@ -101,7 +99,7 @@ if test "$IPV6" != "no"; then
|
||||
fi
|
||||
|
||||
if test "x$GXX" = "xyes"; then
|
||||
appendCXX -Woverloaded-virtual
|
||||
appendCXX -Wall -W -Wno-unused -Woverloaded-virtual
|
||||
# enable g++ dependency tracking
|
||||
DEPEND=".depend"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user