summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/CMakeLists.txt
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-10-22 14:23:47 +0200
committerFlorin Coras <florin.coras@gmail.com>2020-11-05 20:51:03 +0000
commitaf7892c08b2d4984f4c93bb8c7cc07aec36b5055 (patch)
tree2d09c5297cc8b1e38f3ec7a755054e88957ec9e0 /src/vppinfra/CMakeLists.txt
parent066cd812374460e5ca8be9a88f494fe3f5bf911e (diff)
build: link time optimization for release builds
Type: improvement Change-Id: I0e24f1d2ad5c7a11a8bd40125428f86aca867bec Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/CMakeLists.txt')
-rw-r--r--src/vppinfra/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vppinfra/CMakeLists.txt b/src/vppinfra/CMakeLists.txt
index e0ae662e4ba..a670181732e 100644
--- a/src/vppinfra/CMakeLists.txt
+++ b/src/vppinfra/CMakeLists.txt
@@ -198,6 +198,7 @@ add_vpp_library(vppinfra
LINK_LIBRARIES m
INSTALL_HEADERS ${VPPINFRA_HEADERS}
COMPONENT libvppinfra
+ LTO
)
##############################################################################