mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-30 15:30:30 +00:00
The -pedantic and -stdc flags trigger a few too many warnings
This commit is contained in:
parent
01996eb62a
commit
06dfce6d46
@ -14,10 +14,10 @@ NM ?= nm
|
|||||||
OBJCOPY ?= objcopy
|
OBJCOPY ?= objcopy
|
||||||
STRIP ?= strip
|
STRIP ?= strip
|
||||||
ifdef WERROR
|
ifdef WERROR
|
||||||
CFLAGSWERROR=-Werror -pedantic -std=c99 -Werror
|
CFLAGSWERROR=-Werror
|
||||||
endif
|
endif
|
||||||
CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR)
|
CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR)
|
||||||
CFLAGS += $(CFLAGSNO) -O
|
CFLAGS += $(CFLAGSNO)
|
||||||
|
|
||||||
ifeq ($(HOST_OS),Darwin)
|
ifeq ($(HOST_OS),Darwin)
|
||||||
AROPTS = -r
|
AROPTS = -r
|
||||||
|
Loading…
Reference in New Issue
Block a user