gcc-2.X won't accept option -Wno-unused-function

added a note for that
This commit is contained in:
boercher
2005-10-26 22:57:51 +00:00
parent 7674db0eb5
commit 0e9018250f
+2
View File
@@ -62,6 +62,8 @@ AC_PROG_RANLIB
dnl Avoid unused static function warnings
CFLAGS="-Wall $CFLAGS"
if test "x$GCC" = "xyes"; then
# this may produce a harmless warning with older GCC's:
# unrecognized option '-Wno-unused-function'
CFLAGS="$CFLAGS -Wno-unused-function"
fi
export CFLAGS