From 815b80181a01d1110b1c978f55c4097d3dbef259 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 8 Mar 2014 00:57:24 +0000 Subject: [PATCH] open-plc-utils: pass our CFLAGS and LDFLAGS for linking Signed-off-by: Florian Fainelli SVN-Revision: 39819 --- utils/open-plc-utils/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/open-plc-utils/Makefile b/utils/open-plc-utils/Makefile index 39ea4c1e9..2137c5fb5 100644 --- a/utils/open-plc-utils/Makefile +++ b/utils/open-plc-utils/Makefile @@ -73,6 +73,7 @@ $(foreach a,$(OPEN_PLC_UTILS_APPS),$(eval $(call GenPlugin,$(a)))) define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ EXTRA_CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \ CROSS="$(TARGET_CROSS)" \ ROOTFS="$(PKG_INSTALL_DIR)" \ OWNER="$(shell id -u $(shell whoami))" \ -- 2.30.2