From 9fde638b6e3acc514a559c992607951f04018d86 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 20 Oct 2020 15:09:00 -0400 Subject: [PATCH] build with -O2 --- Rsconscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rsconscript b/Rsconscript index 0332094..9c884c5 100644 --- a/Rsconscript +++ b/Rsconscript @@ -120,7 +120,7 @@ EOF env.add_builder(EfiImage) env.add_builder(BiosImage) env.add_builder(FontGen) - env["CCFLAGS"] += %w[-ffreestanding -Wall] + env["CCFLAGS"] += %w[-ffreestanding -Wall -O2] env["LDFLAGS"] += %w[-ffreestanding -nostdlib -T src/link.ld] env["LIBS"] += %w[gcc] env["OBJDUMP"] = "i686-elf-objdump"