X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Flibpcap%2FMakefile;fp=package%2Flibpcap%2FMakefile;h=620fdb94bccf4e805d5e0822f413e7b59933550d;hp=cf0304b4cf8b20e0ccc40a878faa4915b8a61d7c;hb=c9ed38f3a963a9f8d6b0b417af148d4fca8ec307;hpb=e6e54f8aa2e350af7cf1eec49c9b26ba1fb5e664 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 \