summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-08 12:57:02 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-08 12:57:02 +0200
commitdf84cabff6804650532763563f996127fef6bac3 (patch)
treeb83491892b7793d5844c5d9c109b7edfbc2dcbb2 /configure.ac
parentaf0fe8255c46f3826f4a69b0006b02d62f640b88 (diff)
downloadlibrpm-tizen-df84cabff6804650532763563f996127fef6bac3.tar.gz
librpm-tizen-df84cabff6804650532763563f996127fef6bac3.tar.bz2
librpm-tizen-df84cabff6804650532763563f996127fef6bac3.zip
Disable -Wstrict-prototypes for now due to noise from NSPR headers
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d79e10a0b..1ba012dee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,9 @@ AC_PROG_YACC
AS=${AS-as}
AC_SUBST(AS)
if test "$GCC" = yes; then
- CFLAGS="$CFLAGS -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"
+ CFLAGS="$CFLAGS -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wno-char-subscripts"
+ # XXX disabled for now due to noise from NSPR headers
+ # CFLAGS="$CFLAGS -Wstrict-prototypes"
cflags_to_try="-fno-strict-aliasing"
AC_MSG_CHECKING([supported compiler flags])
old_cflags=$CFLAGS