diff options
Diffstat (limited to 'config/bootstrap-lto.mk')
-rw-r--r-- | config/bootstrap-lto.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/bootstrap-lto.mk b/config/bootstrap-lto.mk new file mode 100644 index 000000000..bbd3515ea --- /dev/null +++ b/config/bootstrap-lto.mk @@ -0,0 +1,5 @@ +# This option enables LTO for stage2 and stage3. + +STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 +STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 +STAGEprofile_CFLAGS += -fno-lto |