fix build on sparc64/gcc3

This commit is contained in:
sturm 2004-01-27 20:19:13 +00:00
parent d99bb8220e
commit caaa77b2d1
2 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2003/12/10 21:28:58 naddy Exp $
# $OpenBSD: Makefile,v 1.7 2004/01/27 20:19:13 sturm Exp $
COMMENT= "audio file volume normalizer"
@ -16,6 +16,10 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
MODULES= gettext
CONFIGURE_STYLE=gnu

View File

@ -0,0 +1,12 @@
$OpenBSD: gcc-src_Makefile_in,v 1.1 2004/01/27 20:19:13 sturm Exp $
--- src/Makefile.in.orig 2002-04-28 23:22:57.000000000 +0200
+++ src/Makefile.in 2004-01-27 20:45:58.000000000 +0100
@@ -368,7 +368,7 @@ normalize-adjust.o: adjust.c
@AMDEP_TRUE@ source='adjust.c' object='normalize-adjust.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@ depfile='$(DEPDIR)/normalize-adjust.Po' tmpdepfile='$(DEPDIR)/normalize-adjust.TPo' @AMDEPBACKSLASH@
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(normalize_CFLAGS) $(CFLAGS) -c -o normalize-adjust.o `test -f 'adjust.c' || echo '$(srcdir)/'`adjust.c
+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(normalize_CFLAGS) $(CFLAGS) -O0 -c -o normalize-adjust.o `test -f 'adjust.c' || echo '$(srcdir)/'`adjust.c
normalize-adjust.obj: adjust.c
@AMDEP_TRUE@ source='adjust.c' object='normalize-adjust.obj' libtool=no @AMDEPBACKSLASH@