projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reduce the binary size of libpcap based programs that don't use bpf parsing
[openwrt/svn-archive/archive.git]
/
package
/
libpcap
/
Makefile
diff --git
a/package/libpcap/Makefile
b/package/libpcap/Makefile
index cf0304b4cf8b20e0ccc40a878faa4915b8a61d7c..620fdb94bccf4e805d5e0822f413e7b59933550d 100644
(file)
--- 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 \