aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-05-02 19:35:10 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-05-03 14:25:58 +0000
commit3e60354bf2a2ad7e7fa81fe8107f3ce24e098287 (patch)
tree385a30b0529d6412b546937d85791d823567bebf /Makefile
parenta3ce1723b2f8f690652d181a96344ab9b1c438a4 (diff)
executor: make flatrpc build for C++
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0990b00ee..584336822 100644
--- a/Makefile
+++ b/Makefile
@@ -282,10 +282,11 @@ configs: kconf
bin/syz-kconf -config dashboard/config/linux/main.yml -sourcedir $(SOURCEDIR)
tidy: descriptions
- clang-tidy -quiet -header-filter=.* -warnings-as-errors=* \
+ clang-tidy -quiet -header-filter=executor/.* -warnings-as-errors=* \
-checks=-*,misc-definitions-in-headers,bugprone-macro-parentheses,clang-analyzer-*,-clang-analyzer-security.insecureAPI*,-clang-analyzer-optin.performance* \
-extra-arg=-DGOOS_$(TARGETOS)=1 -extra-arg=-DGOARCH_$(TARGETARCH)=1 \
-extra-arg=-DHOSTGOOS_$(HOSTOS)=1 -extra-arg=-DGIT_REVISION=\"$(REV)\" \
+ --extra-arg=-I. --extra-arg=-Ivendor \
executor/*.cc
ifdef CI