Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
03a008e27f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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