diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-09-11 11:25:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-09-11 11:25:20 +0000 |
commit | d85d26f8dc13c3878607a9c273009f09b7e86325 (patch) | |
tree | 7975b2745337b5b58f501101f3e92cecf5b745be /Rules.mak | |
parent | f9856f80bcb4b7c65fb447021a118ccdff9042d9 (diff) |
Fix several stupid bugs I let slip into the release
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -79,7 +79,7 @@ check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; AWK:=$(shell if [ -x /usr/bin/nawk ]; then echo "/usr/bin/nawk"; \ else echo "/usr/bin/awk"; fi) -HOST_ARCH= $(shell uname -m | sed \ +HOST_ARCH:=$(shell uname -m | sed \ -e 's/i.86/i386/' \ -e 's/sparc.*/sparc/' \ -e 's/arm.*/arm/g' \ @@ -90,7 +90,7 @@ HOST_ARCH= $(shell uname -m | sed \ -e 's/mips.*/mips/' \ ) 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' \ @@ -178,7 +178,7 @@ endif ifeq ($(strip $(TARGET_ARCH)),cris) CPU_LDFLAGS-$(CONFIG_CRIS)+=-mcrislinux CPU_CFLAGS-$(CONFIG_CRIS)+=-mlinux - PICFLAG+=-fpic + PICFLAG=-fpic endif # use '-Os' optimization if available, else use -O2, allow Config to override |