Browse Source

pkg: oonf_api, disable compiler errors if toolchain llvm

- set no-keyword-macro
    - set no-parentheses-equality
pr/rotary
smlng 5 years ago
parent
commit
60bb3ab7ee
  1. 4
      pkg/oonf_api/Makefile.include

4
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

Loading…
Cancel
Save