From 0699a0ca6aaf93443fc807ff77c74889fcef8a58 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 22 Jan 2009 20:38:19 +0000 Subject: * Makeconfig (%.v.i): Strip trailing # comments, not only whole-line comments. --- ChangeLog | 5 +++++ Makeconfig | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f98ef3d93d..5ffa07f9c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-22 Roland McGrath + + * Makeconfig (%.v.i): Strip trailing # comments, + not only whole-line comments. + 2009-01-10 Ulrich Drepper * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take diff --git a/Makeconfig b/Makeconfig index e00cfe64db..5451560745 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 -- cgit 1.4.1