Fix a silly oversight breaking cross compilation
authorEric Andersen <andersen@codepoet.org>
Thu, 5 Dec 2002 18:28:41 +0000 (18:28 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 5 Dec 2002 18:28:41 +0000 (18:28 -0000)
 -Erik

Rules.mak

index 58c03b6e8a44d0373cf19cbb10bf2e8a44d461ca..80f273672ec8f8ebb7b439fb4be9e50675bbde87 100644 (file)
--- 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' \