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:
commit
11e544ac0b
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user