From: Florian Fainelli Date: Sat, 8 Mar 2014 00:57:24 +0000 (+0000) Subject: open-plc-utils: pass our CFLAGS and LDFLAGS for linking X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=59eb182d207dcd0ef953d335ade6629844f71835;p=openwrt%2Fsvn-archive%2Farchive.git open-plc-utils: pass our CFLAGS and LDFLAGS for linking Signed-off-by: Florian Fainelli SVN-Revision: 39819 --- diff --git a/utils/open-plc-utils/Makefile b/utils/open-plc-utils/Makefile index 39ea4c1e9c..2137c5fb5b 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))" \