(Patch) Don't tell Dejagnu to look in libg++ etc.
Hans-Peter Nilsson
hp@bitrange.com
Sun Mar 9 17:07:00 GMT 2003
On Tue, 11 Feb 2003, Nathanael Nerode wrote:
> Why, precisely, are we telling Dejagnu to look in all the old, dead C++
> directories?
>
> Currently running a full bootstrap and 'make -k check' on i686-pc-linux-gnu.
> If it works, may I put this in?
>
> * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
> which refers to obsolete directories.
If you look closer (running the test-suite), you'll notice that
this code has no effect at all whatsoever. (Try some invalid
options!) It should be taken out instead.
> Index: Makefile.in
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
> retrieving revision 1.991
> diff -u -r1.991 Makefile.in
> --- Makefile.in 10 Feb 2003 19:18:41 -0000 1.991
> +++ Makefile.in 11 Feb 2003 20:43:18 -0000
> @@ -3166,7 +3166,7 @@
> @echo "set target_alias $(target_alias)" >> ./tmp0
> # CFLAGS is set even though it's empty to show we reserve the right to set it.
> @echo "set CFLAGS \"\"" >> ./tmp0
> - @echo "set CXXFLAGS \"-I$(objdir)/../$(target_subdir)libio -I\$$srcdir/../libg++/src -I\$$srcdir/../libio -I\$$srcdir/../libstdc++ -I\$$srcdir/../libstdc++/stl -L$(objdir)/../$(target_subdir)libg++ -L$(objdir)/../$(target_subdir)libstdc++\"" >> ./tmp0
> + @echo "set CXXFLAGS \"\"" >> ./tmp0
> @echo "set TESTING_IN_BUILD_TREE 1" >> ./tmp0
> @echo "set HAVE_LIBSTDCXX_V3 1" >> ./tmp0
> # If newlib has been configured, we need to pass -B to gcc so it can find
>
brgds, H-P
More information about the Gcc-patches
mailing list