[distcc] Default flags

Martin Pool mbp at sourcefrog.net
Mon Feb 6 00:14:58 GMT 2006


On  5 Feb 2006, "Meka[ni]" <mekalists at gmail.com> wrote:
> 	Is there a way to make distcc append flags to C[XX]FLAGS? What I need is compiling x86 app on amd64 (distccd server), and I need to pass -m32 flag, too. Some of the apps funk up C[XX]FLAGS variable, so it would be nice if distcc could append -m32 (or any other set of flags).

There is not at present.   As Andrew said this is much better fixed in
the makefile or by installing a cross compiler.  If you really want to
kludge it then just write a shell script that does

  gcc.real -m32 "$@"

(but this may not work well)

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20060206/3129ce7a/attachment.bin


More information about the distcc mailing list