diff options
-rw-r--r-- | Makefile.flags | 2 | ||||
-rwxr-xr-x | examples/android-build | 2 |
2 files changed, 3 insertions, 1 deletions
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 | |||
163 | endif | 163 | endif |
164 | 164 | ||
165 | ifneq ($(CONFIG_EXTRA_LDFLAGS),) | 165 | ifneq ($(CONFIG_EXTRA_LDFLAGS),) |
166 | EXTRA_LDFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_LDFLAGS))) | 166 | LDFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_LDFLAGS))) |
167 | #")) | 167 | #")) |
168 | endif | 168 | endif |
169 | 169 | ||
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 | |||
29 | LDLIBS="dl m c gcc" | 29 | LDLIBS="dl m c gcc" |
30 | fi | 30 | fi |
31 | 31 | ||
32 | # It's possible with newer version | ||
33 | # you need to use CFLAGS_busybox instead of EXTRA_LDFLAGS below: | ||
32 | make EXTRA_LDFLAGS="$LDFLAGS" LDLIBS="$LDLIBS" "$@" | 34 | make EXTRA_LDFLAGS="$LDFLAGS" LDLIBS="$LDLIBS" "$@" |