mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
9f54793089
commit
54da9dcc85
@@ -0,0 +1,20 @@
|
||||
distcc: Put the "-lLIB" parameter in the end of the gcc command.
|
||||
|
||||
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
diff -ruN distcc-2.18.3-orig/Makefile.in distcc-2.18.3/Makefile.in
|
||||
--- distcc-2.18.3-orig/Makefile.in 2011-07-25 16:43:21.000000000 +0800
|
||||
+++ distcc-2.18.3/Makefile.in 2011-07-25 16:45:39.000000000 +0800
|
||||
@@ -378,8 +378,8 @@
|
||||
|
||||
distccmon-gnome@EXEEXT@: $(mon_obj) $(gnome_obj)
|
||||
$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LIBS) \
|
||||
- $(GNOME_CFLAGS) $(GNOME_LIBS) \
|
||||
- $(mon_obj) $(gnome_obj)
|
||||
+ $(GNOME_CFLAGS) \
|
||||
+ $(mon_obj) $(gnome_obj) $(GNOME_LIBS)
|
||||
|
||||
|
||||
## Dist targets
|
||||
Reference in New Issue
Block a user