mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 05:10:43 +00:00
Makefile: fix tidy rule
Building executor now requires GOOS/GOARCH macros.
This commit is contained in:
parent
f6094a8c64
commit
2dadc32780
4
Makefile
4
Makefile
@ -219,7 +219,9 @@ bin/syz-fmt:
|
||||
|
||||
tidy:
|
||||
# A single check is enabled for now. But it's always fixable and proved to be useful.
|
||||
clang-tidy -quiet -header-filter=.* -checks=-*,misc-definitions-in-headers -warnings-as-errors=* executor/*.cc
|
||||
clang-tidy -quiet -header-filter=.* -checks=-*,misc-definitions-in-headers -warnings-as-errors=* \
|
||||
-extra-arg=-DGOOS_$(TARGETOS)=1 -extra-arg=-DGOARCH_$(TARGETARCH)=1 \
|
||||
executor/*.cc
|
||||
# Just check for compiler warnings.
|
||||
$(CC) executor/test_executor.cc -c -o /dev/null -Wparentheses -Wno-unused -Wall
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user