mirror of git://sourceware.org/git/glibc.git
2009-01-21 Roland McGrath <roland@redhat.com>
* Makeconfig (%.v.i): Strip trailing # comments, not only whole-line comments.
This commit is contained in:
parent
f00d47a36f
commit
6a7b0fc65f
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (C) 1991-2003,2004,2005,2006,2007,2008
|
# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
# This file is part of the GNU C Library.
|
# This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -794,7 +794,8 @@ ifeq (yes, $(build-shared))
|
||||||
# listing both its input files, and any header files that it may reference
|
# listing both its input files, and any header files that it may reference
|
||||||
# (but no commands).
|
# (but no commands).
|
||||||
%.v.i: $(common-objpfx)config.h
|
%.v.i: $(common-objpfx)config.h
|
||||||
sed '/^[ ]*#/d;s/^[ ]*%/#/' $(filter-out FORCE %.h,$^) \
|
sed 's/#.*$$//;//^[ ]*$$/d;s/^[ ]*%/#/' \
|
||||||
|
$(filter-out FORCE %.h,$^) \
|
||||||
| $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \
|
| $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \
|
||||||
> $@T
|
> $@T
|
||||||
mv -f $@T $@
|
mv -f $@T $@
|
||||||
|
|
Loading…
Reference in New Issue