picocom: force target LDFLAGS
This allows a static build of picocom when BR2_STATIC_LIBS=y but the toolchain provides static and shared libraries. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
738544208a
commit
add51b89bf
|
@ -10,7 +10,8 @@ PICOCOM_LICENSE = GPL-2.0+
|
|||
PICOCOM_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
define PICOCOM_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
|
||||
endef
|
||||
|
||||
define PICOCOM_INSTALL_TARGET_CMDS
|
||||
|
|
Loading…
Reference in a new issue