From 60a9295a941c0417fe76337fef715b5fe0299c6b Mon Sep 17 00:00:00 2001 From: mohanson Date: Tue, 24 Sep 2024 20:01:44 +0800 Subject: [PATCH] Use -Oz --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b4cdda6..d9245c4 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ ifeq ($(UNAME), Darwin) endif CFLAGS := --target=riscv64 -march=rv64imc_zba_zbb_zbc_zbs -CFLAGS += -g -Os \ +CFLAGS += -g -Oz \ -Wall -Werror -Wno-nonnull -Wno-unused-function \ -nostdinc -nostdlib \ -fdata-sections -ffunction-sections