X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/78202d191b1e0332bd03740e83a3e8c07819810d..d75c935a76fcbcd071e0d294e49d619ab44e6ba6:/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 \