diff options
Diffstat (limited to 'gcc-4.9/config/bootstrap-lto.mk')
-rw-r--r-- | gcc-4.9/config/bootstrap-lto.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.9/config/bootstrap-lto.mk b/gcc-4.9/config/bootstrap-lto.mk new file mode 100644 index 000000000..27bad1529 --- /dev/null +++ b/gcc-4.9/config/bootstrap-lto.mk @@ -0,0 +1,7 @@ +# This option enables LTO for stage2 and stage3. +# FIXME: Our build system is not yet able to use gcc-ar wrapper, so we need +# to go with -ffat-lto-objects. + +STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects +STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects +STAGEprofile_CFLAGS += -fno-lto |