From e0ddb65cb234db6482d80febee1a63778f818db6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 14 Apr 2015 14:15:15 +0200 Subject: [PATCH] build system: make CONFIG_EXTRA_LDFLAGS go to LDFLAGS, not EXTRA_LDFLAGS Signed-off-by: Denys Vlasenko --- Makefile.flags | 2 +- examples/android-build | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.flags b/Makefile.flags index 307afa7f5..a1ed1480a 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -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 diff --git a/examples/android-build b/examples/android-build index 89f3b637a..123ba966e 100755 --- a/examples/android-build +++ b/examples/android-build @@ -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" "$@"