Skip to content

Commit

Permalink
Fix rpl app for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Lenders committed Apr 1, 2014
1 parent 2de9619 commit e34b006
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/rpl_udp/Makefile
Expand Up @@ -28,7 +28,11 @@ export RIOTBASE ?= $(CURDIR)/../..
export QUIET ?= 1

# get rid of the mandatory RPL warning
CFLAGS += "-Wno-cpp"
ifeq ($(shell $(CC) -Wno-cpp -E - 2>/dev/null >/dev/null dev/null ; echo $$?),0)
ifeq ($(shell LANG=C $(CC) -Wno-cpp -E - 2>&1 1>/dev/null dev/null | grep warning: | grep -- -Wno-cpp),)
CFLAGS += -Wno-cpp
endif
endif

# Modules to include:

Expand Down

0 comments on commit e34b006

Please sign in to comment.