X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=package%2Flibpcap%2FMakefile;h=620fdb94bccf4e805d5e0822f413e7b59933550d;hb=3058e8b6a2f9863fe174786d4681e0be9a636090;hp=cf0304b4cf8b20e0ccc40a878faa4915b8a61d7c;hpb=78202d191b1e0332bd03740e83a3e8c07819810d;p=openwrt.git 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 \