diff options
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |