Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/config/bootstrap-lto-noplugin.mk
2023-03-06 14:48:14 +01:00

6 lines
257 B
Makefile

# This option enables LTO for stage2 and stage3 on
# hosts without linker plugin support.
STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
STAGEprofile_CFLAGS += -fno-lto