distcc: fix makefile parameter order
authorDongxiao Xu <dongxiao.xu@intel.com>
Tue, 26 Jul 2011 00:26:08 +0000 (08:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jul 2011 14:45:49 +0000 (15:45 +0100)
commit304f3abfafdb0b8e518802e2e68b3343f79b694f
tree5341838d69d532051b26586fb0886896fb6975d6
parenta4794d23a77697e0c1b77c22bd9a55a7ab97ff17
distcc: fix makefile parameter order

When linking with gcc, the parameter is read from left to write, if *.o
calls a function contained in libxxx, the parameter order should be

"gcc ... *.o -lxxx".

This commit fixes the problem in distcc.

(From OE-Core rev: 782499eaa817f1beecc0aea5bfa075196f8e2a53)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/distcc/distcc_2.18.3.bb
meta/recipes-devtools/distcc/files/makefile-param-order.patch [new file with mode: 0644]