https-dns-proxy: avoid picking up host clang-tidy 9701/head
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Mon, 12 Aug 2019 12:56:52 +0000 (09:56 -0300)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Wed, 14 Aug 2019 12:21:26 +0000 (09:21 -0300)
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 <cotequeiroz@gmail.com>
net/https-dns-proxy/Makefile

index 6e9f8e1cdc1df94719d965fc01e7f7351fe71d54..27660ca6dc6f4a677e6477aa1b160ccae6e3dd20 100644 (file)
@@ -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