From 62d3a427afdea136c82bb599a18a593d9b32c533 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 9 Sep 2014 13:49:34 +0200 Subject: buildsys: Fix typo LDFLAG-fuse-ld looked at a non-existing var, use the correct one Signed-off-by: Bernhard Reutner-Fischer --- Rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rules.mak') 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)) -- cgit v1.2.3