work around optimization bug on sparc64

ok naddy@
This commit is contained in:
sturm 2003-08-24 21:27:30 +00:00
parent e8a1977a16
commit 83a01aec71
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2003/05/19 00:10:36 naddy Exp $
# $OpenBSD: Makefile,v 1.7 2003/08/24 21:27:30 sturm Exp $
COMMENT= "MPEG2 and MPEG-4 AAC decoder"
@ -17,7 +17,6 @@ MASTER_SITES= http://faac.sourceforge.net/files/
LIB_DEPENDS= sndfile:libsndfile->=1.0.1:audio/libsndfile
AUTOCONF_VERSION=2.13
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
USE_LIBTOOL= Yes
@ -29,6 +28,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-lm" \
AUTOCONF_VERSION=${AUTOCONF_VERSION}
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
post-patch:
@cd ${WRKSRC} && AUTOCONF_VERSION=${AUTOCONF_VERSION} sh bootstrap

View File

@ -0,0 +1,10 @@
$OpenBSD: gcc-common_mp4v2_Makefile_am,v 1.1 2003/08/24 21:27:30 sturm Exp $
--- common/mp4v2/Makefile.am.orig 2003-08-24 15:28:39.000000000 +0200
+++ common/mp4v2/Makefile.am 2003-08-24 15:29:43.000000000 +0200
@@ -111,3 +111,6 @@ EXTRA_DIST = API_CHANGES \
libmp4v260.dsp \
libmp4v2_st60.dsp \
TODO
+
+mp4file_io.lo:
+ $(LTCXXCOMPILE) -O0 -c mp4file_io.cpp