aboutsummaryrefslogtreecommitdiffstats
path: root/package/libpcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpcap/Makefile')
-rw-r--r--package/libpcap/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index cf0304b4cf..620fdb94bc 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -30,7 +30,8 @@ define Package/libpcap/description
packet capture.
endef
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS += \
+ -ffunction-sections -fdata-sections
CONFIGURE_ARGS += \
--enable-shared \