aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/network/config/swconfig/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/config/swconfig/Makefile b/package/network/config/swconfig/Makefile
index 8b1d6cd64a..4d3e572d82 100644
--- 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 \