don't build with -O3. ok naddy@

This commit is contained in:
steven 2006-02-07 07:43:11 +00:00
parent c0170e34b4
commit 7ce7c9e5fc
2 changed files with 16 additions and 2 deletions

View File

@ -1,10 +1,10 @@
#$OpenBSD: Makefile,v 1.10 2006/01/10 11:11:54 espie Exp $
#$OpenBSD: Makefile,v 1.11 2006/02/07 07:43:11 steven Exp $
CATEGORIES= audio
COMMENT= 'AC-3 decoding library'
DISTNAME= a52dec-0.7.4
PKGNAME= liba52-0.7.4p1
PKGNAME= liba52-0.7.4p2
MASTER_SITES= http://liba52.sourceforge.net/files/
HOMEPAGE= http://liba52.sourceforge.net/
SHARED_LIBS= a52 0.0

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-configure,v 1.1 2006/02/07 07:43:11 steven Exp $
--- configure.orig Sun Jul 28 05:50:42 2002
+++ configure Tue Feb 7 01:03:57 2006
@@ -2751,9 +2751,8 @@ if test x"$GCC" = x"yes"; then
- OPT_CFLAGS=`echo "$CFLAGS"|sed "s/-O[0-9]*//g"`
+ OPT_CFLAGS="$CFLAGS"
- OPT_CFLAGS="$OPT_CFLAGS -O3"
echo "$as_me:$LINENO: checking if $CC supports $OPT_CFLAGS flags" >&5
echo $ECHO_N "checking if $CC supports $OPT_CFLAGS flags... $ECHO_C" >&6
SAVE_CFLAGS="$CFLAGS"