work around an ICE by compiling a file with -O0 on sparc64

ok pval
This commit is contained in:
sturm 2005-08-16 18:22:26 +00:00
parent fc92c52056
commit 20ad0f9bbe
2 changed files with 23 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2005/07/10 22:43:11 alek Exp $
# $OpenBSD: Makefile,v 1.5 2005/08/16 18:22:26 sturm Exp $
COMMENT= "gtk+2 media player based on XMMS"
COMMENT-mp3= "MP3 input plugin for bmp"
@ -6,7 +6,7 @@ COMMENT-vorbis= "Ogg Vorbis input plugin for bmp"
V= 0.9.7
DISTNAME= bmp-$V
PKGNAME= bmp-$Vp2
PKGNAME-mp3= bmp-mp3-$Vp2
PKGNAME-mp3= bmp-mp3-$Vp3
PKGNAME-vorbis= bmp-vorbis-$Vp2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=beepmp/}
@ -19,6 +19,10 @@ PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
USE_LIBTOOL= Yes
USE_X11= Yes

View File

@ -0,0 +1,17 @@
$OpenBSD: gcc-Input_mpg123_Makefile_in,v 1.1 2005/08/16 18:22:26 sturm Exp $
--- Input/mpg123/Makefile.in.orig Sun Aug 14 04:30:24 2005
+++ Input/mpg123/Makefile.in Sun Aug 14 04:32:15 2005
@@ -457,6 +457,13 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
+layer3.lo: layer3.c
+@am__fastdepCC_TRUE@ if $(LTCOMPILE) -O0 -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
+
.s.o:
$(CCASCOMPILE) -c $<