Skip to content
Snippets Groups Projects
Commit e34b0064 authored by Martine Lenders's avatar Martine Lenders
Browse files

Fix rpl app for clang

parent 2de9619f
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,11 @@ export RIOTBASE ?= $(CURDIR)/../.. ...@@ -28,7 +28,11 @@ export RIOTBASE ?= $(CURDIR)/../..
export QUIET ?= 1 export QUIET ?= 1
# get rid of the mandatory RPL warning # 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: # Modules to include:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment