Skip to content

Commit

Permalink
firmware: build: Simplify the C/LDFLAGS a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbanBedel committed Oct 25, 2013
1 parent 498f967 commit bc5fc53
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,11 @@ CROSS_COMPILE=avr-
CC=gcc
OBJCOPY=objcopy

CFLAGS =-Os -flto -frename-registers \
-fira-loop-pressure \
-fconserve-stack \
-fweb \
-std=c99 \
CFLAGS =-Os -flto \
-std=gnu99 \
-g3 -Wall \

LDFLAGS=-Os -flto -fwhole-program \
-Wl,--gc-sections \
-Wl,--print-gc-sections \
-Wl,-Map=$(@:%.elf=%.map) \

ndmx.elf_DEPS := \
Expand Down

0 comments on commit bc5fc53

Please sign in to comment.