summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-14 16:00:24 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-14 16:00:24 +0200
commit3a5c27d1ec9409faf9c422b1eae7cc4db352cbfe (patch)
tree69880dc0afc6ab36afe047f21ad87d4bd60255c6 /Rules.mak
parent39142c932fccc38c3323a1d1ae9eb743d1bef01c (diff)
Revert "default ?conf to native arch"
This reverts commit 6625518cd6894338937a74ca6b9187b7b8167b03. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak5
1 files changed, 2 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index 39fb37840..37430bb85 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -63,15 +63,14 @@ STRIP_FLAGS ?= -x -R .note -R .comment
# Select the compiler needed to build binaries for your development system
HOSTCC = gcc
BUILD_CFLAGS = -Os -Wall
-SUBARCH := $(shell uname -m | $(SED) -e s/i.86/i386/ \
+export ARCH := $(shell uname -m | $(SED) -e s/i.86/i386/ \
-e s/sun.*/sparc/ -e s/sparc.*/sparc/ \
-e s/arm.*/arm/ -e s/sa110/arm/ \
-e s/sh.*/sh/ \
-e s/s390x/s390/ -e s/parisc.*/hppa/ \
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
-e s/xtensa.*/xtensa/ )
-ARCH ?= $(SUBARCH)
-export ARCH
+
#---------------------------------------------------------
# Nothing beyond this point should ever be touched by mere