summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-10 18:42:30 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-10 18:42:30 +0000
commit52214b70d834ce2408da3084865565fcb81ec4f2 (patch)
tree3b8ec26e6c61d4042eedd38371c472e596cd5466 /Rules.mak
parent2f01dd180f8a82b833efd7ec01fa90196d2aee99 (diff)
Strip off quotes from TARGET_ARCH
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index f6c2f5091..01b1866e3 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -80,6 +80,7 @@ check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1;
then echo "$(1)"; else echo "$(2)"; fi)
# Make certain these contain a final "/", but no "//"s.
+TARGET_ARCH:=$(strip $(subst ",, $(strip $(TARGET_ARCH))))
RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX))))))
DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX))))))
export RUNTIME_PREFIX DEVEL_PREFIX