aboutsummaryrefslogtreecommitdiff
path: root/cc3200/Makefile
diff options
context:
space:
mode:
authorKrzysztof Blazewicz2017-03-05 13:28:27 +0100
committerDamien George2017-03-23 15:32:12 +1100
commit75589272ef12d538ab7ce4f4453be85d826b5083 (patch)
treee19b60155b124a325fe8776ca2321cfef00e691a /cc3200/Makefile
parent4a4bb84e9216a130050a13e20a19fbf476ed6e6c (diff)
all/Makefile: Remove -ansi from GCC flags, its ignored anyway.
The -ansi flag is used for C dialect selection and it is equivalent to -std=c90. Because it goes right before -std=gnu99 it is ignored as for conflicting flags GCC always uses the last one.
Diffstat (limited to 'cc3200/Makefile')
-rw-r--r--cc3200/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/Makefile b/cc3200/Makefile
index 4db3b9e8d..663496435 100644
--- a/cc3200/Makefile
+++ b/cc3200/Makefile
@@ -20,7 +20,7 @@ include ../py/mkenv.mk
CROSS_COMPILE ?= arm-none-eabi-
CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -march=armv7e-m -mabi=aapcs -mcpu=cortex-m4 -msoft-float -mfloat-abi=soft -fsingle-precision-constant -Wdouble-promotion
-CFLAGS = -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib $(CFLAGS_CORTEX_M4) -Os
+CFLAGS = -Wall -Wpointer-arith -Werror -std=gnu99 -nostdlib $(CFLAGS_CORTEX_M4) -Os
CFLAGS += -g -ffunction-sections -fdata-sections -fno-common -fsigned-char -mno-unaligned-access
CFLAGS += -Iboards/$(BOARD)
CFLAGS += $(CFLAGS_MOD)