mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Use CFLAGS during make rule generation.
This commit is contained in:
parent
bf0db4876c
commit
4f8d347171
@ -99,7 +99,7 @@ $(SUBDIRS.distclean):
|
||||
%.d: %.c
|
||||
set -e; FILE=`echo $@ | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
|
||||
INC_LNS=`echo $(INC_LNS) | sed -e 's/\\//\\\\\\//g'`; \
|
||||
$(CC) -MM $(INCLUDES) $< | \
|
||||
$(CC) -MM $(INCLUDES) $(CFLAGS) $< | \
|
||||
sed "s/\(.*\)\.o[ :]*/$$FILE.o $$FILE.d : $$INC_LNS /g" > $@; \
|
||||
[ -s $@ ] || $(RM) $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user