gcc-2.X won't accept option -Wno-unused-function
added a note for that
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user