From: Changqing Li <[email protected]>

Signed-off-by: Changqing Li <[email protected]>
---
 ...ix-one-rarely-reproduced-parallel-build-problem.patch | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch
 
b/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch
index 334577a..97bf6ae 100644
--- 
a/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch
+++ 
b/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch
@@ -27,14 +27,14 @@ index 993dbfd..06b706d 100644
  libsyslog_la_LIBADD   = $(LTLIBOBJS)
 +
 +# Both libsyslog_la and syslogd/logger requires objects like lib/pidfile.o, 
for
-+# # libsyslog_la, the objects should be compiled with -fPIC, but for
-+# # syslogd/logger, it doesn't need -fPIC, so there is a race issue when the 
two
-+# # different lib/pidfile.o are compiled at the same time, which would cause 
errors like:
-+# # ld: syslogd-syslogd.o: in function `main':
-+# # syslogd.c:417: undefined reference to `__pidfile'
-+# #
-+# # Make LIBOBJS depend on LTLIBOBJS to fix the problem.
-+# $(LIBOBJS): $(LTLIBOBJS)
++# libsyslog_la, the objects should be compiled with -fPIC, but for
++# syslogd/logger, it doesn't need -fPIC, so there is a race issue when the two
++# different lib/pidfile.o are compiled at the same time, which would cause 
errors like:
++# ld: syslogd-syslogd.o: in function `main':
++# syslogd.c:417: undefined reference to `__pidfile'
++#
++# Make LIBOBJS depend on LTLIBOBJS to fix the problem.
++$(LIBOBJS): $(LTLIBOBJS)
 -- 
 2.7.4
 
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#137112): 
https://lists.openembedded.org/g/openembedded-core/message/137112
Mute This Topic: https://lists.openembedded.org/mt/72866023/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to