Browse Source

buildsys: Fix typo in check-as-var handling

Missing second expansion with _v.
This led to wrong args passed down to assembler.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 12 years ago
parent
commit
03a008e27f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Rules.mak

+ 1 - 1
Rules.mak

@@ -198,7 +198,7 @@ endef
 define check-as-var
 $(call check-tool-var,check_as,ASFLAG,$(1))
 _v = CFLAG_-Wa$(1)
-export $(_v) = $$(if $$(ASFLAG_$(1)),-Wa$$(comma)$$(ASFLAG_$(1)))
+export $$(_v) = $$(if $$(ASFLAG_$(1)),-Wa$$(comma)$$(ASFLAG_$(1)))
 endef
 # Usage: check-ld-var,<flag>
 # Check the linker to see if it supports <flag>.  Export the