[git commit] buildsys: Fix typo in check-as-var handling

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Mar 27 11:42:22 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=03a008e27f61ee805ec1cc914fbe60f6eb34887c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 Rules.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Rules.mak b/Rules.mak
index d7cdaf9..00e8481 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


More information about the uClibc-cvs mailing list