1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

make: add few more predef symbols for cflow

This commit is contained in:
Zdenek Kabelac 2021-03-20 19:02:41 +01:00
parent 0993355300
commit f370cda716

View File

@ -404,7 +404,10 @@ ifneq ("$(CFLOW_CMD)", "")
CFLOW_FLAGS +=\
--cpp="$(CC) -E $(INCLUDES) $(VALGRIND_CFLAGS) $(BLKID_CFLAGS) $(DEFS)" \
--symbol _ISbit:wrapper \
--symbol __asm__:wrapper \
--symbol __attribute__:wrapper \
--symbol __inline:=inline \
--symbol __inline__:=inline \
--symbol __const:type \
--symbol __const__:wrapper \
--symbol __extension__:wrapper \
@ -414,7 +417,7 @@ CFLOW_FLAGS +=\
--symbol __pure__:wrapper \
--symbol __REDIRECT:wrapper \
--symbol __REDIRECT_NTH:wrapper \
--symbol __restrict:type \
--symbol __restrict:=restrict \
--symbol __wur:wrapper
$(CFLOW_TARGET).cflow: $(CFLOW_SOURCES)