[package] libnl: fix compilation with eglibc (closes: #4785)
[openwrt.git] / package / libpcap / Makefile
index ed048a4ed3d2dcc14f1bf929e2ee77bec5cbf4aa..620fdb94bccf4e805d5e0822f413e7b59933550d 100644 (file)
@@ -30,6 +30,9 @@ define Package/libpcap/description
  packet capture.
 endef
 
+TARGET_CFLAGS += \
+       -ffunction-sections -fdata-sections
+
 CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \