open-plc-utils: pass our CFLAGS and LDFLAGS for linking

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39819 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2014-03-08 00:57:24 +00:00
parent f2dc632982
commit 5e7f8a28ae

View File

@ -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))" \