Skip to content

Commit

Permalink
* Makeconfig (%.v.i): Strip trailing # comments,
Browse files Browse the repository at this point in the history
	not only whole-line comments.
  • Loading branch information
Roland McGrath committed Jan 22, 2009
1 parent 6a7b0fc commit 0699a0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makeconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0699a0c

Please sign in to comment.