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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Apr 3 17:38:40 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=f2140b3ca3b3b0b5f069acae2fb4c5fba5b796dd
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.33

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 f474236..fcb6cf3 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