You might try setting it in your (Scratchbox target) environment like
this:
export SBOX_EXTRA_COMPILER_ARGS=-mcpu=...
--Steve
On Jun 5, 2007, at 7:15 AM, Claudio Scordino wrote:
Hi all,
I'm integrating a foreign toolchain inside Scratchbox according
to the instructions at http://www.scratchbox.org/wiki/
ForeignToolchains.
My toolchain needs the special argument -mcpu=... otherwise it does
not compile.
So, when I try to integrate the toolchain I get the error
"error: C compiler cannot create executables"
because I didn't specify my argument.
My question is: where should I set my parameter -mcpu=... so that
it is automatically used during the make ?
I tried exporting the CFLAGS variable, but it didn't work...
Any suggestion is very welcome.
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users