commit 5d964c5faa5f2a0e878a57a787fbb4a71fd2af9a
parent 15ea770194f95a42719ae1a25a0c818375bab34e
Author: Alexander Ryzhov <github@ryzhov-al.ru>
Date: Sun, 6 Dec 2015 08:53:51 -0500
vnstat: respect LDFLAGS
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
@@ -63,7 +63,8 @@ endef
define Build/Compile/vnstat
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)"
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)"
endef
define Build/Compile/vnstati