From: Eneas U de Queiroz Date: Mon, 12 Aug 2019 12:56:52 +0000 (-0300) Subject: https-dns-proxy: avoid picking up host clang-tidy X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F9701%2Fhead;p=feed%2Fpackages.git https-dns-proxy: avoid picking up host clang-tidy Otherwise compilation fails when clang-tidy is found in the host: -- clang-tidy found: /usr/lib/llvm/7/bin/clang-tidy error: unknown argument: '-fhonour-copts' [clang-diagnostic-error] error: unknown argument:'-iremap[...]:https_dns_proxy-2018-04-23' [clang-diagnostic-error] Signed-off-by: Eneas U de Queiroz --- diff --git a/net/https-dns-proxy/Makefile b/net/https-dns-proxy/Makefile index 6e9f8e1cdc..27660ca6dc 100644 --- a/net/https-dns-proxy/Makefile +++ b/net/https-dns-proxy/Makefile @@ -16,6 +16,8 @@ PKG_LICENSE:=MIT include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk +CMAKE_OPTIONS += -DCLANG_TIDY_EXE= + define Package/https_dns_proxy SECTION:=net CATEGORY:=Network