aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/procd')
-rw-r--r--package/system/procd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
index c989ad660a..7433527774 100644
--- 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