1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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

rpl: Fix RPL app for clang
This commit is contained in:
Ludwig Ortmann 2014-04-02 10:56:49 +02:00
commit 11e544ac0b

View File

@ -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: