summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-09-09 13:49:34 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-09-09 13:49:34 +0200
commit62d3a427afdea136c82bb599a18a593d9b32c533 (patch)
tree32373f9e3c7303cb14910a6f6ee9f8087c0bcb88
parent33a12b5540b8abbc4ee0ecb3a51912b3c7868517 (diff)
buildsys: Fix typo
LDFLAG-fuse-ld looked at a non-existing var, use the correct one Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index cb657008c..20da428a3 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -255,7 +255,7 @@ ARFLAGS:=cr
# Note: The check for -nostdlib has to be before all calls to check_ld
$(eval $(call check-gcc-var,-nostdlib))
# deliberately not named CFLAG-fuse-ld since unchecked and from user
-LDFLAG-fuse-ld := $(filter -fuse-ld=%,$(EXTRA_UCLIBC_FLAGS))
+LDFLAG-fuse-ld := $(filter -fuse-ld=%,$(call qstrip,$(UCLIBC_EXTRA_CFLAGS)))
# failed to merge target specific data of file /dev/null
# Could use -Wl,--script,$(top_srcdir)extra/scripts/none.lds as well.
$(eval $(call check-ld-var,--no-warn-mismatch))