build system: make CONFIG_EXTRA_LDFLAGS go to LDFLAGS, not EXTRA_LDFLAGS
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 14 Apr 2015 12:15:15 +0000 (14:15 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 14 Apr 2015 12:15:15 +0000 (14:15 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Makefile.flags
examples/android-build

index 307afa7f521207de5defad823cd07c554b1c7102..a1ed1480af9c25fd09d7f4e0c7fb23fcec711460 100644 (file)
@@ -163,7 +163,7 @@ SKIP_STRIP = y
 endif
 
 ifneq ($(CONFIG_EXTRA_LDFLAGS),)
-EXTRA_LDFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_LDFLAGS)))
+LDFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_LDFLAGS)))
 #"))
 endif
 
index 89f3b637abc2f207093989787e062bae719fd33f..123ba966ece3d63bd87514376d03d992174455b8 100755 (executable)
@@ -29,4 +29,6 @@ else
        LDLIBS="dl m c gcc"
 fi
 
+# It's possible with newer version
+# you need to use CFLAGS_busybox instead of EXTRA_LDFLAGS below:
 make EXTRA_LDFLAGS="$LDFLAGS" LDLIBS="$LDLIBS" "$@"