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 1f27e73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ ifeq ($(UNAME), Darwin)
endif

CFLAGS := --target=riscv64 -march=rv64imc_zba_zbb_zbc_zbs
CFLAGS += -g -Os \
-Wall -Werror -Wno-nonnull -Wno-unused-function \
-nostdinc -nostdlib \
-fdata-sections -ffunction-sections
CFLAGS += -g -Oz \
-Wall -Werror -Wno-nonnull -Wno-unused-function \
-nostdinc -nostdlib \
-fdata-sections -ffunction-sections

CFLAGS += -I deps/ckb-c-stdlib
CFLAGS += -I include -I include/c-stdlib
Expand Down

0 comments on commit 1f27e73

Please sign in to comment.