Merge pull request #335 from M4xi1m3/fast-lto

[build] Enable jobserver lto.
This commit is contained in:
Quentin
2020-05-11 14:12:58 +02:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ endif
ifeq ($(LTO),1)
# Use link-time optimization if LTO=1
SFLAGS += -flto
SFLAGS += -flto=auto
endif
# Get rid of unused symbols. This is also useful even if LTO=1.