pkg: tinydtls, disable compiler errors if toolchain llvm

- set no-gnu-zero-variadic-macro-arguments
    - set no-unused-function
This commit is contained in:
smlng 2017-02-15 17:17:24 +01:00
parent 60bb3ab7ee
commit 36ae072c55
1 changed files with 1 additions and 1 deletions

View File

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