aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2009-01-22 20:38:19 +0000
committerRoland McGrath <roland@gnu.org>2009-01-22 20:38:19 +0000
commit0699a0ca6aaf93443fc807ff77c74889fcef8a58 (patch)
treec73488875d17f943aba9f78a1894a9e8449c3267
parent6a7b0fc65f9949e2fe91e09677ca960fe9584cab (diff)
downloadglibc-0699a0ca6aaf93443fc807ff77c74889fcef8a58.zip
glibc-0699a0ca6aaf93443fc807ff77c74889fcef8a58.tar.gz
glibc-0699a0ca6aaf93443fc807ff77c74889fcef8a58.tar.bz2
* Makeconfig (%.v.i): Strip trailing # comments,
not only whole-line comments.
-rw-r--r--ChangeLog5
-rw-r--r--Makeconfig2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f98ef3d..5ffa07f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/Makeconfig b/Makeconfig
index e00cfe6..5451560 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -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