master - make.tmpl: Support per-object DEFS.
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=0c74afa1c613537e5aed33ed230755cfe8b0ab03 Commit: 0c74afa1c613537e5aed33ed230755cfe8b0ab03 Parent: 2d007673947b26bd0807cb637abb2fb9563c5e41 Author: Alasdair G Kergon <[email protected]> AuthorDate: Thu Mar 16 23:03:03 2017 +0000 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Thu Mar 16 23:03:03 2017 +0000
make.tmpl: Support per-object DEFS.
Same as CFLAGS.
--- make.tmpl.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
make.tmpl.in +1 -1
@@ -416,7 +416,7 @@ endif .LIBPATTERNS = lib%.so lib%.a %.o: %.c - $(CC) -c $(INCLUDES) $(DEFS) $(WFLAGS) $(WCFLAGS) $(CFLAGS) $(CFLAGS_$@) $< -o $@ + $(CC) -c $(INCLUDES) $(DEFS) $(DEFS_$@) $(WFLAGS) $(WCFLAGS) $(CFLAGS) $(CFLAGS_$@) $< -o $@ %.o: %.cpp $(CXX) -c $(INCLUDES) $(DEFS) $(WFLAGS) $(CXXFLAGS) $(CXXFLAGS_$@) $< -o $@