Skip to content

Commit

Permalink
Use -Oz
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Sep 24, 2024
1 parent 3c41864 commit 60a9295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60a9295

Please sign in to comment.