mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
sysklogd: update the patch
(From OE-Core rev: be4c224273039a138750c8cf88ef0e0315a92ea5) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0cc4c008d6
commit
40f08d2c97
+8
-8
@@ -27,14 +27,14 @@ index 993dbfd..06b706d 100644
|
|||||||
libsyslog_la_LIBADD = $(LTLIBOBJS)
|
libsyslog_la_LIBADD = $(LTLIBOBJS)
|
||||||
+
|
+
|
||||||
+# Both libsyslog_la and syslogd/logger requires objects like lib/pidfile.o, for
|
+# Both libsyslog_la and syslogd/logger requires objects like lib/pidfile.o, for
|
||||||
+# # libsyslog_la, the objects should be compiled with -fPIC, but 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
|
+# 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:
|
+# different lib/pidfile.o are compiled at the same time, which would cause errors like:
|
||||||
+# # ld: syslogd-syslogd.o: in function `main':
|
+# ld: syslogd-syslogd.o: in function `main':
|
||||||
+# # syslogd.c:417: undefined reference to `__pidfile'
|
+# syslogd.c:417: undefined reference to `__pidfile'
|
||||||
+# #
|
+#
|
||||||
+# # Make LIBOBJS depend on LTLIBOBJS to fix the problem.
|
+# Make LIBOBJS depend on LTLIBOBJS to fix the problem.
|
||||||
+# $(LIBOBJS): $(LTLIBOBJS)
|
+$(LIBOBJS): $(LTLIBOBJS)
|
||||||
--
|
--
|
||||||
2.7.4
|
2.7.4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user