X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/78202d191b1e0332bd03740e83a3e8c07819810d..9e97fe261db0c03effd31865eea9f8759a4f2f16:/package/libpcap/Makefile diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile index cf0304b4c..620fdb94b 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 \