mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
native: don't warn for deprecated code
As native uses the `ucontext` API this change is needed on OS X as this API is marked as deprecated.
This commit is contained in:
parent
f841811a49
commit
9c4b511e7d
@ -51,6 +51,9 @@ ifeq ($(shell uname -m),amd64)
|
||||
export CFLAGS += -m32 -DCOMPAT_32BIT -B/usr/lib32
|
||||
endif
|
||||
endif
|
||||
ifeq ($(shell uname -s),Darwin)
|
||||
export CFLAGS += -Wno-deprecated-declarations
|
||||
endif
|
||||
|
||||
# unwanted (CXXUWFLAGS) and extra (CXXEXFLAGS) flags for c++
|
||||
export CXXUWFLAGS +=
|
||||
|
Loading…
Reference in New Issue
Block a user