mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-17 20:04:20 -05:00
set C / C++ standard parameter for clang-tidy
This commit is contained in:
parent
e41d37c3de
commit
3b72a4f810
3
Makefile
3
Makefile
@ -129,7 +129,8 @@ util.o: util.c util.h
|
|||||||
check: tidy
|
check: tidy
|
||||||
|
|
||||||
tidy:
|
tidy:
|
||||||
clang-tidy $(SOURCES) -- $(CPPFLAGS)
|
clang-tidy --extra-arg=-std=c11 $(filter %.c,$(SOURCES)) -- $(CPPFLAGS)
|
||||||
|
clang-tidy --extra-arg=-std=c++17 $(filter %.cc,$(SOURCES)) -- $(CPPFLAGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f libhardened_malloc.so $(OBJECTS)
|
rm -f libhardened_malloc.so $(OBJECTS)
|
||||||
|
Loading…
Reference in New Issue
Block a user