From dc587bf92c238e7d497bc1d4d9658923ada5c7be Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 21 May 2015 17:32:24 +0200 Subject: [PATCH] iproute2: ensure TARGET_LDFLAGS are used Otherwise we can end up with various linker issues (E.G. linking shared against libc for a static build, ..). Signed-off-by: Peter Korsgaard --- package/iproute2/iproute2.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index ab374e1b55..49b1fdc617 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)