The -pedantic and -stdc flags trigger a few too many warnings
This commit is contained in:
parent
01996eb62a
commit
06dfce6d46
1 changed files with 2 additions and 2 deletions
|
@ -14,10 +14,10 @@ NM ?= nm
|
|||
OBJCOPY ?= objcopy
|
||||
STRIP ?= strip
|
||||
ifdef WERROR
|
||||
CFLAGSWERROR=-Werror -pedantic -std=c99 -Werror
|
||||
CFLAGSWERROR=-Werror
|
||||
endif
|
||||
CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR)
|
||||
CFLAGS += $(CFLAGSNO) -O
|
||||
CFLAGS += $(CFLAGSNO)
|
||||
|
||||
ifeq ($(HOST_OS),Darwin)
|
||||
AROPTS = -r
|
||||
|
|
Loading…
Reference in a new issue