All of lore.kernel.org
 help / color / mirror / Atom feed
* master - make.tmpl: Support per-object DEFS.
@ 2017-03-16 23:14 Alasdair Kergon
  0 siblings, 0 replies; only message in thread
From: Alasdair Kergon @ 2017-03-16 23:14 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=0c74afa1c613537e5aed33ed230755cfe8b0ab03
Commit:        0c74afa1c613537e5aed33ed230755cfe8b0ab03
Parent:        2d007673947b26bd0807cb637abb2fb9563c5e41
Author:        Alasdair G Kergon <agk@redhat.com>
AuthorDate:    Thu Mar 16 23:03:03 2017 +0000
Committer:     Alasdair G Kergon <agk@redhat.com>
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(-)

diff --git a/make.tmpl.in b/make.tmpl.in
index 2af1b1c..41f23e6 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -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 $@



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-16 23:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-16 23:14 master - make.tmpl: Support per-object DEFS Alasdair Kergon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.