[lvm-devel] dev-next - make: add few more predef symbols for cflow
David Teigland
teigland at sourceware.org
Wed Mar 31 21:48:46 UTC 2021
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f370cda716f14d0ba1ba97fa3dd5887d5165b140
Commit: f370cda716f14d0ba1ba97fa3dd5887d5165b140
Parent: 0993355300fa8490163579a320d1b289c7db59af
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Sat Mar 20 19:02:41 2021 +0100
Committer: Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Mon Mar 22 22:51:24 2021 +0100
make: add few more predef symbols for cflow
---
make.tmpl.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/make.tmpl.in b/make.tmpl.in
index d95d956fa..99998f9fd 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -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)
More information about the lvm-devel
mailing list