Remove warning options not available with gcc < 4. ok eric@
This commit is contained in:
parent
25dbe1beee
commit
4a2a30acb3
24
multimedia/oggz/patches/patch-configure
Normal file
24
multimedia/oggz/patches/patch-configure
Normal file
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2011/08/24 15:36:38 naddy Exp $
|
||||
|
||||
Remove compiler options not available with gcc < 4.
|
||||
|
||||
--- configure.orig Tue Aug 23 21:52:22 2011
|
||||
+++ configure Tue Aug 23 21:52:33 2011
|
||||
@@ -11257,7 +11257,7 @@ fi
|
||||
$as_echo_n "checking if $CC allows signed enums... " >&6; }
|
||||
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
-CFLAGS="$CFLAGS -Wall -Wextra -Werror"
|
||||
+CFLAGS="$CFLAGS -Wall -Werror"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@@ -12730,7 +12730,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
if test "x$ac_cv_c_compiler_gnu" = xyes ; then
|
||||
- CFLAGS="$CFLAGS -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
|
||||
+ CFLAGS="$CFLAGS -Wall -g -std=gnu99 -Wno-unused"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user