Message ID | 87hb5n6ah6.fsf@ludovic-brenta.org |
---|---|
State | New |
Headers | show |
On Thu, Aug 11, 2011 at 11:59 AM, Ludovic Brenta <ludovic@ludovic-brenta.org> wrote: > OK to apply as trivial? > > > 2011-08-11 Ludovic Brenta <ludovic@ludovic-brenta.org> > > PR ada/50048 > * gcc-interface/Makefile.in (INCLUDES): replace -I- with > -iquote. > > --- a/src/gcc/ada/gcc-interface/Makefile.in > +++ b/src/gcc/ada/gcc-interface/Makefile.in > @@ -247,7 +247,7 @@ > # Both . and srcdir are used, in that order, > # so that tm.h and config.h will be found in the compilation > # subdirectory rather than in the source directory. > -INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/config \ > +INCLUDES = -iquote -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/config \ > -I$(srcdir)/../include This is wrong as -iquote takes an operand. So it is eating up -I. for the -iquote. You have to replace all of the -I after -I- with -iquote. Thanks, Andrew Pinski
--- a/src/gcc/ada/gcc-interface/Makefile.in +++ b/src/gcc/ada/gcc-interface/Makefile.in @@ -247,7 +247,7 @@ # Both . and srcdir are used, in that order, # so that tm.h and config.h will be found in the compilation # subdirectory rather than in the source directory. -INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/config \ +INCLUDES = -iquote -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/config \ -I$(srcdir)/../include ADA_INCLUDES = -I- -I. -I$(srcdir)/ada