aboutsummaryrefslogtreecommitdiff
path: root/pic16bit
diff options
context:
space:
mode:
authorKrzysztof Blazewicz2017-03-05 13:28:27 +0100
committerDamien George2017-03-23 15:32:12 +1100
commit75589272ef12d538ab7ce4f4453be85d826b5083 (patch)
treee19b60155b124a325fe8776ca2321cfef00e691a /pic16bit
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 'pic16bit')
-rw-r--r--pic16bit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/pic16bit/Makefile b/pic16bit/Makefile
index cfe8af86e..add9a8495 100644
--- a/pic16bit/Makefile
+++ b/pic16bit/Makefile
@@ -21,7 +21,7 @@ INC += -I$(XC16)/include
INC += -I$(XC16)/support/$(PARTFAMILY)/h
CFLAGS_PIC16BIT = -mcpu=$(PART) -mlarge-code
-CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -nostdlib $(CFLAGS_PIC16BIT) $(COPT)
+CFLAGS = $(INC) -Wall -Werror -std=gnu99 -nostdlib $(CFLAGS_PIC16BIT) $(COPT)
#Debugging/Optimization
ifeq ($(DEBUG), 1)