projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: compile with LTO enabled
[openwrt/staging/wigyori.git]
/
package
/
system
/
procd
/
Makefile
diff --git
a/package/system/procd/Makefile
b/package/system/procd/Makefile
index c989ad660a837de12d226ba8bb73d677c59f4dcc..743352777466894bfb82499dda3c3c6c5c39c5a3 100644
(file)
--- a/
package/system/procd/Makefile
+++ b/
package/system/procd/Makefile
@@
-37,6
+37,9
@@
endif
CMAKE_OPTIONS += -DEARLY_PATH="$(TARGET_INIT_PATH)"
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lrt)
+TARGET_CFLAGS += -flto
+TARGET_LDFLAGS += -flto
+
define Package/procd
SECTION:=base
CATEGORY:=Base system