From 60bb3ab7ee298644cf5f572e4b4b61bd07fefad1 Mon Sep 17 00:00:00 2001 From: smlng <s@mlng.net> Date: Wed, 15 Feb 2017 16:19:44 +0100 Subject: [PATCH] pkg: oonf_api, disable compiler errors if toolchain llvm - set no-keyword-macro - set no-parentheses-equality --- pkg/oonf_api/Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/oonf_api/Makefile.include b/pkg/oonf_api/Makefile.include index 5af9c3071f..236f801eb1 100644 --- a/pkg/oonf_api/Makefile.include +++ b/pkg/oonf_api/Makefile.include @@ -1,5 +1,5 @@ INCLUDES += -I$(PKGDIRBASE)/oonf_api/src-api -ifeq ($(shell uname -s),Darwin) - CFLAGS += -Wno-reserved-id-macro -Wno-keyword-macro +ifeq ($(TOOLCHAIN), llvm) + CFLAGS += -Wno-keyword-macro -Wno-parentheses-equality endif -- GitLab