* [Buildroot] [git commit] iproute2: ensure TARGET_LDFLAGS are used
@ 2015-05-21 21:22 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2015-05-21 21:22 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=dc587bf92c238e7d497bc1d4d9658923ada5c7be
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Otherwise we can end up with various linker issues (E.G. linking shared
against libc for a static build, ..).
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/iproute2/iproute2.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index ab374e1..49b1fdc 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -58,7 +58,7 @@ endef
define IPROUTE2_BUILD_CMDS
$(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile
- $(TARGET_MAKE_ENV) $(MAKE) \
+ $(TARGET_MAKE_ENV) LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) \
DBM_INCLUDE="$(STAGING_DIR)/usr/include" \
CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
SHARED_LIBS="$(if $(BR2_STATIC_LIBS),n,y)" -C $(@D)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-21 21:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-21 21:22 [Buildroot] [git commit] iproute2: ensure TARGET_LDFLAGS are used Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.