From: Peter Korsgaard Date: Thu, 21 May 2015 15:32:24 +0000 (+0200) Subject: iproute2: ensure TARGET_LDFLAGS are used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc587bf92c238e7d497bc1d4d9658923ada5c7be;p=buildroot.git 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 --- 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)