From: Roland McGrath Date: Thu, 22 Jan 2009 20:38:19 +0000 (+0000) Subject: * Makeconfig (%.v.i): Strip trailing # comments, X-Git-Tag: upstream/2.30~13876 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0699a0ca6aaf93443fc807ff77c74889fcef8a58;p=external%2Fglibc.git * Makeconfig (%.v.i): Strip trailing # comments, not only whole-line comments. --- diff --git a/ChangeLog b/ChangeLog index f98ef3d..5ffa07f 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 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