Skip to content
Snippets Groups Projects
Commit 11e544ac authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

Merge pull request #769 from authmillenon/fix-rpl-app-for-clang

rpl: Fix RPL app for clang
parents f9d8f1fc e34b0064
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