On Wednesday 18 January 2012 18:02:37 Bernhard Reutner-Fischer wrote:
> On Jan 18, 2012 7:17 PM, "Mike Frysinger" wrote:
> > On Wednesday 18 January 2012 13:06:42 Bernhard Reutner-Fischer wrote:
> > > On 18 January 2012 13:19, Mike Frysinger wrote:
> > > > On Wednesday 18 January 2012 02:44:39 Bernhard Reutner-Fischer wrote:
> > > >> --- /dev/null
> > > >> +++ b/extra/scripts/cppcheck.sh
> > > >> @@ -0,0 +1,23 @@
> > > >> +#! /bin/sh
> > > >> +
> > > >> +${REAL_CC-gcc} $*
> > > > 
> > > > $* -> "$@"
> > > > 
> > > > the rest of our build system uses ${CC} rather than ${REAL_CC} ...
> > > 
> > > make REAL_CC=gcc-HEAD CC=/src/uClibc/extra/scripts/cppcheck.sh
> > 
> > gotcha.  when you fix things up, i'd suggest the first line being:
> > : ${REAL_CC:-gcc}
> > 
> > then assuming everywhere else that ${REAL_CC} is set
> 
> Sure -- if ash supports it.

that is POSIX syntax.  the build system requires POSIX, not shells that don't 
support POSIX ...

also, i had a copy & paste typo.  that "-" should be a "=".
        : ${REAL_CC:=gcc}
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to