]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
Enable LTO for C++, too
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Apr 2021 10:25:00 +0000 (10:25 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 20 May 2021 10:40:39 +0000 (10:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config

index 00d8eedb1c116f1429f37f4a48498c1c668b643d..0930eeed829eae4971a415e19f071f4f64f35b99 100644 (file)
@@ -46,6 +46,7 @@ PARALLELISM = $(shell echo $$( \
 
 # Enable LTO
 CFLAGS += $(CFLAGS_LTO)
+CXXFLAGS += $(CFLAGS_LTO)
 
 MAKETUNING = -j$(PARALLELISM)