Browse Source

Strip off quotes from TARGET_ARCH

Eric Andersen 21 years ago
parent
commit
52214b70d8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Rules.mak

+ 1 - 0
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)
 	then echo "$(1)"; else echo "$(2)"; fi)
 
 
 # Make certain these contain a final "/", but no "//"s.
 # 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))))))
 RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX))))))
 DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX))))))
 DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX))))))
 export RUNTIME_PREFIX DEVEL_PREFIX
 export RUNTIME_PREFIX DEVEL_PREFIX