do set compiler flag that compiler doesn't support

This commit is contained in:
Michael Jerris 2014-04-30 08:33:09 -04:00
parent 21a2e19470
commit 6e23eab0cc
1 changed files with 4 additions and 1 deletions

View File

@ -462,7 +462,10 @@ intel)
COMP_VENDOR_LDFLAGS=
;;
*)
COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
if test x"$ac_cv_gcc_unused_but_set_variable" = xyes ; then
COMP_VENDOR_CFLAGS="-Wunused-but-set-variable $COMP_VENDOR_CFLAGS"
fi
COMP_VENDOR_LDFLAGS=
;;
esac