aboutsummaryrefslogtreecommitdiff
path: root/package/picocom
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2017-05-03 15:46:35 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-05-03 17:24:43 +0200
commitadd51b89bfb5ebe7b533e14714088a4d3912c9a0 (patch)
treed12244e0592bc06fd588b15eadf6e23d1bb439da /package/picocom
parent738544208aa98005b8296bb4364ef63b423715bd (diff)
downloadbuildroot-add51b89bfb5ebe7b533e14714088a4d3912c9a0.tar.gz
buildroot-add51b89bfb5ebe7b533e14714088a4d3912c9a0.tar.bz2
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>
Diffstat (limited to 'package/picocom')
-rw-r--r--package/picocom/picocom.mk3
1 files changed, 2 insertions, 1 deletions
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