diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-11-08 12:57:02 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-11-08 12:57:02 +0200 |
commit | df84cabff6804650532763563f996127fef6bac3 (patch) | |
tree | b83491892b7793d5844c5d9c109b7edfbc2dcbb2 /configure.ac | |
parent | af0fe8255c46f3826f4a69b0006b02d62f640b88 (diff) | |
download | librpm-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.ac | 4 |
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 |