mirror of https://gerrit.osmocom.org/asn1c
another way
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@415 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
ab8e43d8db
commit
275e5fda84
|
@ -51,7 +51,10 @@ esac
|
|||
|
||||
AC_ARG_ENABLE(autoconf,
|
||||
[ --enable-Werror abort compilation after any C compiler warning],
|
||||
enable_werror=$enableval, enable_werror=no)
|
||||
if test x$enable_werror = xyes; then
|
||||
ADD_CFLAGS="-Werror -W -Wpointer-arith")
|
||||
fi
|
||||
AC_SUBST(ADD_CFLAGS)
|
||||
|
||||
dnl Add these flags if we're using GCC.
|
||||
|
|
Loading…
Reference in New Issue