Build failure from http://gcc.gnu.org/ml/gcc-cvs/2002-01/msg00187.html

Hans-Peter Nilsson hp@bitrange.com
Wed Jan 9 18:09:00 GMT 2002


On Wed, 9 Jan 2002, Zack Weinberg wrote:
>       * Makefile.in (s-gencheck, s-options, s-specs): Avoid
>       empty for loop lists.

> -     for t in $(lang_tree_files); do \
> +     for t in dummy $(lang_tree_files); do \
> +         if [ "$$t" = "dummy" ]; then continue; fi; \

I think someone (Alex Oliva?) solved the same problem
differently elsewhere, avoiding an exclude-the-dummy construct.
(Is continue portable, anyway?)

Something like
 files="$(lang_options_files)"; for t in $$files; do

:-)

brgds, H-P



More information about the Gcc-patches mailing list