projects
/
openwrt
/
staging
/
ynezz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef16a39
)
firewall: compile with LTO enabled
author
Felix Fietkau
<nbd@nbd.name>
Wed, 11 Jul 2018 17:23:43 +0000
(19:23 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 13 Jul 2018 15:22:53 +0000
(17:22 +0200)
Reduces .ipk size on MIPS from 41.6k to 41.1k
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/firewall/Makefile
patch
|
blob
|
history
diff --git
a/package/network/config/firewall/Makefile
b/package/network/config/firewall/Makefile
index 42d40e955c53cd8d2379b0d1b062a306b2f93d6c..d5337a3381b4a0f80f5644ae45c12d73213ae305 100644
(file)
--- a/
package/network/config/firewall/Makefile
+++ b/
package/network/config/firewall/Makefile
@@
-40,8
+40,8
@@
define Package/firewall/conffiles
/etc/firewall.user
endef
-TARGET_CFLAGS += -ffunction-sections -fdata-sections
-TARGET_LDFLAGS += -Wl,--gc-sections
+TARGET_CFLAGS += -ffunction-sections -fdata-sections
-flto
+TARGET_LDFLAGS += -Wl,--gc-sections
-flto
CMAKE_OPTIONS += $(if $(CONFIG_IPV6),,-DDISABLE_IPV6=1)
define Package/firewall/install