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:
psychon
2007-12-02 09:22:51 +00:00
parent 89e907efaa
commit b94f538385
+1 -3
View File
@@ -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