summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-03-27 13:38:58 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-03-27 13:42:22 +0200
commit03a008e27f61ee805ec1cc914fbe60f6eb34887c (patch)
treed7db765ae8c7a9218a4d8132d54cb7c197470b31 /Rules.mak
parent7a8e2cdaeb295b53fed4b1b03ad7fd741c61a59e (diff)
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>
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index d7cdaf9a3..00e8481b8 100644
--- 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