compile on sparc64

ok pval@
This commit is contained in:
sturm 2004-03-13 15:40:01 +00:00
parent 2a70160d9d
commit 8de4ec6048
2 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2002/07/21 07:08:48 pvalchev Exp $
# $OpenBSD: Makefile,v 1.6 2004/03/13 15:40:01 sturm Exp $
COMMENT= "Desktop wallpaper manager and X11 screensaver"
@ -35,6 +35,10 @@ CONFIGURE_STYLE= gnu
SEPARATE_BUILD= concurrent
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/chbg
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chbg

View File

@ -0,0 +1,13 @@
$OpenBSD: gcc-src_Makefile_in,v 1.1 2004/03/13 15:40:01 sturm Exp $
--- src/Makefile.in.orig 2004-03-11 20:20:25.000000000 +0100
+++ src/Makefile.in 2004-03-11 20:21:49.000000000 +0100
@@ -154,6 +154,9 @@ uninstall-binPROGRAMS:
.c.o:
$(COMPILE) -c $<
+config.o: $(srcdir)/config.c
+ $(COMPILE) -O0 -c $(srcdir)/config.c
+
.s.o:
$(COMPILE) -c $<