This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up libstdc++ build breakage with ldbl-extra.ver
Il 28/02/2012 09:50, Jakub Jelinek ha scritto:
> - $(EGREP) -v '#(#| |$$)' $@.tmp | \
> + $(EGREP) -v '^[ ]*#(#| |$$)' $@.tmp | \
I don't know this part very well, so I wonder why you have to remove
comments at all... hence I wonder if sed 's/##.*//;s/# .*//;s/#$//'
(alternation is not portable in sed) would be closer to the original
intentions.
Anyhow, if the above change works it is surely ok for 4.7.0.
Paolo