Updating Makefile by removing unwanted LDFLAG setting cpu to cortex-m0 in all cases.

This commit is contained in:
Glenn Ruben Bakke 2016-11-16 22:51:53 +01:00
parent 0ab5ef426b
commit ae99d95c1a

View File

@ -62,7 +62,6 @@ CFLAGS += -Iboards/$(BOARD)
LDFLAGS = $(CFLAGS)
LDFLAGS += -Xlinker -Map=$(@:.elf=.map)
LDFLAGS += -mthumb -mabi=aapcs -T $(LD_FILE)
LDFLAGS += -mcpu=cortex-m0
#Debugging/Optimization
ifeq ($(DEBUG), 1)