Skip to content
Permalink
Browse files

Make linker remove dead functions.

  • Loading branch information...
aulanov committed Jan 5, 2012
1 parent 1a3ee08 commit 0c9695ddbd2be14eac0b042203af9098872089bc
Showing with 2 additions and 2 deletions.
  1. +2 −2 makefile
@@ -11,8 +11,8 @@ PROJ_DIR =.
BUILD_DIR = build
CFLAGS_PRODUCTION = -Os -Wall#-Wl,--gc-sections # -ffunction-sections # -fdata-sections -fno-inline-functions# -O optimizes
# more optimizion flags
CFLAGS_PRODUCTION += -fomit-frame-pointer -fno-force-addr -finline-limit=1 -fno-schedule-insns
CFLAGS_PRODUCTION += -Wl,-Map=output.map
CFLAGS_PRODUCTION += -fomit-frame-pointer -fno-force-addr -finline-limit=1 -fno-schedule-insns -ffunction-sections
CFLAGS_PRODUCTION += -Wl,-Map=output.map -Wl,--gc-sections
CFLAGS_DEBUG= -g -Os # -g enables debugging symbol table, -O0 for NO optimization

CC_CMACH = -mmcu=cc430f6137

0 comments on commit 0c9695d

Please sign in to comment.
You can’t perform that action at this time.