Merge Silvers Makefile changes

This commit is contained in:
Arti Zirk 2016-10-22 01:36:04 +02:00
parent 281d4d72c5
commit 14a6e4ff91

View File

@ -43,12 +43,13 @@ CFLAGS = -Wall \
-Werror \ -Werror \
-Wfatal-errors \ -Wfatal-errors \
-Os \ -Os \
-flto \
-fdata-sections \
-ffunction-sections \
-mmcu=$(BOARD) \ -mmcu=$(BOARD) \
-DF_CPU=16000000UL \ -DF_CPU=16000000UL \
-DGIT_DESCR=\"$(shell git describe --abbrev=6 --dirty --always --tags --long)\" \ -DGIT_DESCR=\"$(shell git describe --abbrev=6 --dirty --always --tags --long)\" \
-std=c11 \ -std=c11
-flto \
-fdata-sections -ffunction-sections
# Linker flags # Linker flags
LDFLAGS = -mmcu=$(BOARD) \ LDFLAGS = -mmcu=$(BOARD) \