]> 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>
Mon, 19 Apr 2021 10:25:00 +0000 (10:25 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config

index 1bbb58f63dd429c53a555f5c6f6edfc133bd3f5a..6110a13462666d909d86267caaabaad220c55795 100644 (file)
@@ -46,6 +46,7 @@ PARALLELISM = $(shell echo $$( \
 
 # Enable LTO
 CFLAGS += $(CFLAGS_LTO)
+CXXFLAGS += $(CFLAGS_LTO)
 
 MAKETUNING = -j$(PARALLELISM)