only compile sha.c with -O0 on sparc64, not the whole port.
This commit is contained in:
parent
c96b34102a
commit
411b92381d
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2002/03/04 18:31:46 lebel Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2002/03/23 19:52:08 lebel Exp $
|
||||
|
||||
COMMENT= "GNU versions of common file management utilities"
|
||||
COMMENT-ls= "colorized GNU 'ls'"
|
||||
@ -24,7 +24,7 @@ MODULES= gettext
|
||||
|
||||
# XXX workaround gcc bugs on sparc64
|
||||
.if ${MACHINE_ARCH:Msparc64}
|
||||
CFLAGS+= -O0
|
||||
PATCH_LIST= gcc-* patch-*
|
||||
.endif
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
|
16
misc/fileutils/patches/gcc-lib_Makefile_in
Normal file
16
misc/fileutils/patches/gcc-lib_Makefile_in
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: gcc-lib_Makefile_in,v 1.1 2002/03/23 19:52:08 lebel Exp $
|
||||
--- lib/Makefile.in.orig Sun Apr 29 04:25:37 2001
|
||||
+++ lib/Makefile.in Sat Mar 23 14:39:34 2002
|
||||
@@ -742,6 +742,12 @@ distclean-depend:
|
||||
|
||||
@AMDEP@CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
+sha.o: sha.c
|
||||
+@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
+@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
+@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
+ $(COMPILE) -c -O0 -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
+
|
||||
.c.o:
|
||||
@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
Loading…
x
Reference in New Issue
Block a user