From patchwork Fri Sep 14 10:26:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4/4] Add new slim-lto-bootstrap.mk build-target Date: Fri, 14 Sep 2012 00:26:08 -0000 From: Markus Trippelsdorf X-Patchwork-Id: 183874 Message-Id: <20120914102608.GE263@x4> To: Andi Kleen Cc: gcc-patches@gcc.gnu.org 2012-09-13 Markus Trippelsdorf * config/slim-lto-bootstrap.mk: new build-config diff --git a/config/slim-lto-bootstrap.mk b/config/slim-lto-bootstrap.mk new file mode 100644 index 0000000..11d1252 --- /dev/null +++ b/config/slim-lto-bootstrap.mk @@ -0,0 +1,9 @@ +# This option enables slim LTO for stage2 and stage3. + +STAGE2_CFLAGS += -flto=jobserver -fno-fat-lto-objects -frandom-seed=1 +STAGE3_CFLAGS += -flto=jobserver -fno-fat-lto-objects -frandom-seed=1 +STAGE_CFLAGS += -fuse-linker-plugin +STAGEprofile_CFLAGS += -fno-lto +AR = gcc-ar +NM = gcc-nm +RANLIB = gcc-ranlib