aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-05 18:28:41 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-05 18:28:41 +0000
commit08c358b604d9aa5087c0ec226a94cc8df7bd2952 (patch)
tree8106d99796a7523ad9eedf35530fe44ccfacd717 /Rules.mak
parentc9f20d9fb93c6c316518483fd103f3afab5cf1af (diff)
downloadbusybox-08c358b604d9aa5087c0ec226a94cc8df7bd2952.tar.gz
Fix a silly oversight breaking cross compilation
-Erik
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 58c03b6e8..80f273672 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -87,7 +87,7 @@ ARFLAGS:=-r
#--------------------------------------------------------
export VERSION BUILDTIME TOPDIR HOSTCC HOSTCFLAGS CROSS CC AR AS LD NM STRIP CPP
ifeq ($(strip $(TARGET_ARCH)),)
-TARGET_ARCH:=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
+TARGET_ARCH=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
-e 's/i.86/i386/' \
-e 's/sparc.*/sparc/' \
-e 's/arm.*/arm/g' \