aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/iptables/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 17b79d2fd8..5c65e68e24 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -172,6 +172,7 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
COPT_FLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="-rdynamic -static-libgcc" \
KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install