https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85413
Bug ID: 85413 Summary: "./configure --with-build-config=bootstrap-lto " != "BOOT_CFLAGS +=-flto " Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dilyan.palauzov at aegee dot org Target Milestone: --- https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/doc/install.texi;h=64ad2445a335f270200e359812bc9d2213bd2405;hb=HEAD#l2457 says: ./configure --with-build-config=bootstrap-lto is the same as adding -flto to BOOT_CFLAGS, but providing that config/bootstrap-lto.mk contains more code than just adding -flto, this seems not to be correct. Moreover the text in gcc/doc/instal.texi concerning the equivalence originates from 2010, but config/bootstrap-lto.ml was last modified in 2014. In 2010 bootstrap-lto.m4 indeed only added -flto, not it appends also =jobserver.