[Buildroot] [RFC v3 03/30] iproute2: use the TARGET_LDFLAGS variable
Fabio Porcedda
fabio.porcedda at gmail.com
Tue Mar 3 09:17:08 UTC 2015
This is in order to support the per-package staging directory.
Signed-off-by: Fabio Porcedda <fabio.porcedda at gmail.com>
---
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 0838463..5f144cd 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -59,7 +59,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" -C $(@D)
endef
--
2.3.1
More information about the buildroot
mailing list