Skip to content

Commit

Permalink
feat: Add some flags in Makefile to reduce bin size
Browse files Browse the repository at this point in the history
  • Loading branch information
xcguang committed Feb 21, 2019
1 parent 4e66512 commit df53788
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,17 @@ CCFLAGS += \
-g \
-Wpointer-arith \
-Wundef \
-Werror \
-Wl,-EL \
-fno-inline-functions \
-nostdlib \
-mlongcalls \
-mtext-section-literals \
-ffunction-sections \
-fdata-sections \
-fno-builtin-printf
-fno-builtin-printf \
-fno-guess-branch-probability \
-freorder-blocks-and-partition \
-fno-cse-follow-jumps
# -Wall

DEFINES += -DSPI_FLASH_SIZE_MAP=$(size_map)
Expand Down

0 comments on commit df53788

Please sign in to comment.