workaround sparc64 gcc bug, compile interface.c w/ -O0. discussed w/ mark@

This commit is contained in:
pvalchev 2002-10-19 07:17:45 +00:00
parent f060e4e8e2
commit d8759ebf2e
2 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2002/10/16 05:27:41 mark Exp $
# $OpenBSD: Makefile,v 1.16 2002/10/19 07:17:45 pvalchev Exp $
COMMENT= "full featured GTK Napster client"
DISTNAME= lopster-1.0.1-dev5.12
@ -22,6 +22,11 @@ PERMIT_DISTFILES_FTP= Yes
MODULES= gettext
# XXX workaround gcc bugs on sparc64
.if ${MACHINE_ARCH:Msparc64}
PATCH_LIST= gcc-* patch-*
.endif
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu

View File

@ -0,0 +1,13 @@
$OpenBSD: gcc-src_Makefile_in,v 1.1 2002/10/19 07:17:45 pvalchev Exp $
--- src/Makefile.in.orig Mon Sep 9 16:04:02 2002
+++ src/Makefile.in Sat Oct 19 00:27:36 2002
@@ -176,6 +176,9 @@ uninstall-binPROGRAMS:
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
done
+interface.o:
+ $(COMPILE) -O0 -c interface.c
+
.s.o:
$(COMPILE) -c $<