build system: make CONFIG_EXTRA_LDFLAGS go to LDFLAGS, not EXTRA_LDFLAGS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
7b729edd33
commit
e0ddb65cb2
@ -163,7 +163,7 @@ SKIP_STRIP = y
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_EXTRA_LDFLAGS),)
|
ifneq ($(CONFIG_EXTRA_LDFLAGS),)
|
||||||
EXTRA_LDFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_LDFLAGS)))
|
LDFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_LDFLAGS)))
|
||||||
#"))
|
#"))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -29,4 +29,6 @@ else
|
|||||||
LDLIBS="dl m c gcc"
|
LDLIBS="dl m c gcc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# It's possible with newer version
|
||||||
|
# you need to use CFLAGS_busybox instead of EXTRA_LDFLAGS below:
|
||||||
make EXTRA_LDFLAGS="$LDFLAGS" LDLIBS="$LDLIBS" "$@"
|
make EXTRA_LDFLAGS="$LDFLAGS" LDLIBS="$LDLIBS" "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user