The -pedantic and -stdc flags trigger a few too many warnings

This commit is contained in:
Adam Dunkels 2015-10-04 22:33:37 +02:00 committed by Simon Duquennoy
parent 4cab313b8c
commit 24b1eb4031

View file

@ -127,7 +127,7 @@ else
STRIP = $(CROSS_COMPILE)strip STRIP = $(CROSS_COMPILE)strip
ifdef WERROR ifdef WERROR
CFLAGSWERROR ?= -Werror -pedantic -std=c99 -Werror CFLAGSWERROR ?= -Werror
endif endif
CFLAGSNO ?= -Wall -g $(CFLAGSWERROR) CFLAGSNO ?= -Wall -g $(CFLAGSWERROR)