pkg: tinydtls, disable compiler errors if toolchain llvm
- set no-gnu-zero-variadic-macro-arguments - set no-unused-function
This commit is contained in:
parent
60bb3ab7ee
commit
36ae072c55
|
@ -2,7 +2,7 @@ PKG_BUILDDIR ?= $(PKGDIRBASE)/tinydtls
|
|||
|
||||
INCLUDES += -I$(PKG_BUILDDIR)
|
||||
|
||||
ifeq ($(shell uname -s),Darwin)
|
||||
ifeq ($(TOOLCHAIN), llvm)
|
||||
CFLAGS += -Wno-gnu-zero-variadic-macro-arguments -Wno-unused-function
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue