X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=config%2Fbootstrap-lto.mk;h=bbd3515eaa44c8531a8478fa7c7e310f1e19e786;hb=d180bcbd34b9ed5f0062636786ff31c803c2f735;hp=785d15f81c231fdfa7b5d40c3e351dc05489d411;hpb=bbb3c81a449f089121b8d6d5527991dcd6dff0d3;p=deliverable%2Fbinutils-gdb.git diff --git a/config/bootstrap-lto.mk b/config/bootstrap-lto.mk index 785d15f81c..bbd3515eaa 100644 --- a/config/bootstrap-lto.mk +++ b/config/bootstrap-lto.mk @@ -1,8 +1,5 @@ -# This option enables LTO for stage2 and stage3. It requires lto to -# be enabled for stage1 with --enable-stage1-languages. +# This option enables LTO for stage2 and stage3. -STAGE2_CFLAGS += -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1 -STAGE3_CFLAGS += -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1 - -# Ada fails to build with LTO, turn it off for now. -BOOT_ADAFLAGS += -fno-lto +STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 +STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 +STAGEprofile_CFLAGS += -fno-lto