OSDN Git Service

buildsys: Fix typo in check-as-var handling
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 27 Mar 2012 11:38:58 +0000 (13:38 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 27 Mar 2012 11:42:22 +0000 (13:42 +0200)
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>
Rules.mak

index d7cdaf9..00e8481 100644 (file)
--- a/Rules.mak
+++ b/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