This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: nested backticks in Makefile
On Tue, Mar 27, 2007 at 10:28:33PM -0400, DJ Delorie wrote:
>
> > On Tue, Mar 27, 2007 at 03:01:04PM -0400, DJ Delorie wrote:
> > > - CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include'
> > > + CROSS_SYSTEM_HEADER_DIR='$(shell echo $(gcc_tooldir)/sys-include)'
> >
> > Don't you need more quotes than that?
>
> I think if we quoted it more, we'd end up passing the backticks along
> instead of processing them, and we'd end up right where we started.
I only meant:
CROSS_SYSTEM_HEADER_DIR='$(shell echo "$(gcc_tooldir)/sys-include")'
--
Daniel Jacobowitz
CodeSourcery