* Makeconfig (%.v.i): Strip trailing # comments,

not only whole-line comments.
This commit is contained in:
Roland McGrath 2009-01-22 20:38:19 +00:00
parent 6a7b0fc65f
commit 0699a0ca6a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-01-22 Roland McGrath <roland@redhat.com>
* Makeconfig (%.v.i): Strip trailing # comments,
not only whole-line comments.
2009-01-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take

View file

@ -794,7 +794,7 @@ ifeq (yes, $(build-shared))
# 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/^[ ]*%/#/' \
sed 's/#.*$$//;/^[ ]*$$/d;s/^[ ]*%/#/' \
$(filter-out FORCE %.h,$^) \
| $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \
> $@T