linamh/dev-libs/dietlibc/files/dietlibc-sparc64-makefile.patch
2011-12-03 21:16:15 +01:00

12 lines
499 B
Diff

--- Makefile.orig 2004-03-25 08:24:20.420425000 -0700
+++ Makefile 2004-03-25 08:27:02.730425000 -0700
@@ -8,7 +8,7 @@
BINDIR=${prefix}/bin
MAN1DIR=${prefix}/man/man1
-MYARCH:=$(shell uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/')
+MYARCH:=$(shell uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/' -e 's/sparc64/sparc/')
# This extra-ugly cruft is here so make will not run uname and sed each
# time it looks at $(OBJDIR). This alone sped up running make when