projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swconfig: Activate LTO compile option
[openwrt/openwrt.git]
/
package
/
network
/
config
/
swconfig
/
Makefile
diff --git
a/package/network/config/swconfig/Makefile
b/package/network/config/swconfig/Makefile
index 8b1d6cd64ae5909e877c70cfffb96077b95dd6e7..4d3e572d824a6ad03dbf21922408f80da3ddc541 100644
(file)
--- a/
package/network/config/swconfig/Makefile
+++ b/
package/network/config/swconfig/Makefile
@@
-23,6
+23,9
@@
define Package/swconfig
TITLE:=Switch configuration utility
endef
+TARGET_CFLAGS += -flto
+TARGET_LDFLAGS += -flto=jobserver
+
TARGET_CPPFLAGS := \
-D_GNU_SOURCE \
-I$(STAGING_DIR)/usr/include/libnl-tiny \