Skip to content

Commit

Permalink
The -pedantic and -stdc flags trigger a few too many warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdunkels authored and simonduq committed Oct 20, 2015
1 parent 01996eb commit 06dfce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpu/native/Makefile.native
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06dfce6

Please sign in to comment.