summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2009-02-28 01:27:30 +0000
committerRoland McGrath <roland@gnu.org>2009-02-28 01:27:30 +0000
commit8744841f9ab79b725d37395d6f4057a92bdc9953 (patch)
tree282d72b6643a9e6f8623b8e4f00bed69c16990c8 /Makeconfig
parent56a9651fe66617649f9cd03fce4b894dc69e23aa (diff)
2009-02-27 Roland McGrath <roland@redhat.com>
* Makeconfig (%.v.i): Depend on Makeconfig. Exclude % lines from initial #-comment removal.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makeconfig b/Makeconfig
index 5451560745..c904a83957 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -793,9 +793,9 @@ ifeq (yes, $(build-shared))
# `FOO.v', and along with that `FOO.v.i' should be given dependencies
# listing both its input files, and any header files that it may reference
# (but no commands).
-%.v.i: $(common-objpfx)config.h
- sed 's/#.*$$//;/^[ ]*$$/d;s/^[ ]*%/#/' \
- $(filter-out FORCE %.h,$^) \
+%.v.i: $(common-objpfx)config.h $(..)Makeconfig
+ sed '/^[ ]*%/!s/#.*$$//;/^[ ]*$$/d;s/^[ ]*%/#/' \
+ $(filter-out FORCE %.h $(..)Makeconfig,$^) \
| $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \
> $@T
mv -f $@T $@