This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unreviewed patch: Makefile adds duplicate system include
- To: nathan at codesourcery dot com
- Subject: Re: Unreviewed patch: Makefile adds duplicate system include
- From: DJ Delorie <dj at redhat dot com>
- Date: Fri, 29 Jun 2001 14:07:45 -0400
- CC: gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com
- References: <3B3C7903.60F34733@codesourcery.com>
> here's a patch for gcc's Makefile.in which removes an extraneous
> '-isystem ./include' flag, as that's added automatically by dint of the
> '-B ./' flag.
I would prefer not relying on -B for anything other than it's original
purpose of finding the compiler driver programs. Its other uses have
become IMHO a convoluted mess of hacks. While keeping the -isystem
may be a needless redundancy, it makes the intention of the Makefile
much clearer. So, is there a particular problem that this patch
solves, or is it just removing a redundancy? If the latter, I'd
rather not change it.