|
@@ -5,7 +5,7 @@ PWD = $(shell pwd)
|
|
|
|
|
|
COMMONFLAGS = -mcpu=cortex-m4 -mthumb -ggdb3
|
|
|
CFLAGS += $(COMMONFLAGS) -Os $(INCLUDES) -I.
|
|
|
-CFLAGS += -std=c99 -Wall -Wextra -static -fdata-sections -ffunction-sections -fno-hosted -fno-builtin
|
|
|
+CFLAGS += -std=gnu99 -Wall -Wextra -static -fdata-sections -ffunction-sections -fno-hosted -fno-builtin
|
|
|
CFLAGS += -nostdlib -nodefaultlibs -fstack-usage
|
|
|
CFLAGS += -mapcs-frame -msoft-float
|
|
|
CFLAGS += -Werror-implicit-function-declaration
|