Sorry, that shouldn't have been there - it was a local fixup since I use
ccache for compiling, but the SWIG CCache test fails if CC="ccache gcc".
I've removed it from the patch.


On 27 April 2014 22:17, Olly Betts <notifications@github.com> wrote:

> In CCache/Makefile.in:
>
> > @@ -58,7 +62,7 @@ clean:
> >  check : test
> >
> >  test: test.sh
> > -	SWIG_LIB='$(SWIG_LIB)' PATH=../..:$$PATH SWIG='$(SWIG)' CC='$(CC)' NOSOFTLINKSTEST='$(NOSOFTLINKSTEST)' ./test.sh
> > +	SWIG_LIB='$(SWIG_LIB)' PATH=../..:$$PATH SWIG='$(SWIG)' CC='$(lastword $(CC))' NOSOFTLINKSTEST='$(NOSOFTLINKSTEST)' $(srcdir)/test.sh
>
> Why does supporting building outside the source tree require the $(lastword
> $(CC)) change? This will break things like ./configure CC='gcc -m32' as
> there the "lastword" is -m32.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/swig/swig/pull/166/files#r12031099>
> .
>