on sparc64, compile a few files with -O1 instead of the hardcoded(sic!) -O3

to make this port build again
This commit is contained in:
sturm 2003-11-18 21:22:09 +00:00
parent 2f6d2f62e8
commit 73c1e6c599
2 changed files with 25 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#$OpenBSD: Makefile,v 1.4 2003/08/16 16:52:09 jolan Exp $
#$OpenBSD: Makefile,v 1.5 2003/11/18 21:22:09 sturm Exp $
CATEGORIES= audio
@ -19,4 +19,8 @@ PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,20 @@
$OpenBSD: gcc-liba52_Makefile_in,v 1.1 2003/11/18 21:22:09 sturm Exp $
--- liba52/Makefile.in.orig 2003-11-18 21:59:28.000000000 +0100
+++ liba52/Makefile.in 2003-11-18 22:10:36.000000000 +0100
@@ -245,10 +245,16 @@ bitstream.lo bitstream.o : bitstream.c .
../include/a52.h a52_internal.h bitstream.h
downmix.lo downmix.o : downmix.c ../include/config.h ../include/a52.h \
a52_internal.h
+downmix.lo :
+ $(LIBTOOL) --mode=compile $(COMPILE:S,-O3,-O1,) -c downmix.c
imdct.lo imdct.o : imdct.c ../include/config.h ../include/a52.h \
a52_internal.h ../include/mm_accel.h
+imdct.lo :
+ $(LIBTOOL) --mode=compile $(COMPILE:S,-O3,-O1,) -c imdct.c
parse.lo parse.o : parse.c ../include/config.h ../include/a52.h \
a52_internal.h bitstream.h tables.h
+parse.lo :
+ $(LIBTOOL) --mode=compile $(COMPILE:S,-O3,-O1,) -c parse.c
info-am:
info: info-am