diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2023-02-12 13:12:23 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2023-02-13 13:41:59 +0100 |
commit | 4791a4fc68c681a45bcdc5660c6e96af607fab27 (patch) | |
tree | bd500679dc12c0dbe2e1e2230fee561141778df2 /tools/Makefile.in | |
parent | 50f73de4b27c11c810c8f7aea3e36a5c947408af (diff) | |
download | lvm2-4791a4fc68c681a45bcdc5660c6e96af607fab27.tar.gz |
makefiles: allow using configure cppflags
Configure defines 'CPPFLAGS' and we should use defined value
for compilation.
Reported-by: debian
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r-- | tools/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in index 2a663a5b6..545b94f23 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -133,7 +133,7 @@ man-generator.c: $(srcdir)/command.c man-generator: man-generator.o @echo " [CC] $@" - $(Q) $(CC) $(CFLAGS) -o $@ $(<F) + $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(<F) lvm.static: $(OBJECTS) lvm-static.o $(LVMINTERNAL_LIBS) @echo " [CC] $@" |