From: Baruch Siach Date: Wed, 3 May 2017 12:46:35 +0000 (+0300) Subject: picocom: force target LDFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=add51b89bfb5ebe7b533e14714088a4d3912c9a0;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/package/picocom/picocom.mk b/package/picocom/picocom.mk index 07bda0e745..4e25556f4c 100644 --- a/package/picocom/picocom.mk +++ b/package/picocom/picocom.mk @@ -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