diff options
Diffstat (limited to 'meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch')
-rw-r--r-- | meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch | 16 |
1 files 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 334577a910..97bf6ae50e 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 | |||
27 | libsyslog_la_LIBADD = $(LTLIBOBJS) | 27 | libsyslog_la_LIBADD = $(LTLIBOBJS) |
28 | + | 28 | + |
29 | +# Both libsyslog_la and syslogd/logger requires objects like lib/pidfile.o, for | 29 | +# Both libsyslog_la and syslogd/logger requires objects like lib/pidfile.o, for |
30 | +# # libsyslog_la, the objects should be compiled with -fPIC, but for | 30 | +# libsyslog_la, the objects should be compiled with -fPIC, but for |
31 | +# # syslogd/logger, it doesn't need -fPIC, so there is a race issue when the two | 31 | +# syslogd/logger, it doesn't need -fPIC, so there is a race issue when the two |
32 | +# # different lib/pidfile.o are compiled at the same time, which would cause errors like: | 32 | +# different lib/pidfile.o are compiled at the same time, which would cause errors like: |
33 | +# # ld: syslogd-syslogd.o: in function `main': | 33 | +# ld: syslogd-syslogd.o: in function `main': |
34 | +# # syslogd.c:417: undefined reference to `__pidfile' | 34 | +# syslogd.c:417: undefined reference to `__pidfile' |
35 | +# # | 35 | +# |
36 | +# # Make LIBOBJS depend on LTLIBOBJS to fix the problem. | 36 | +# Make LIBOBJS depend on LTLIBOBJS to fix the problem. |
37 | +# $(LIBOBJS): $(LTLIBOBJS) | 37 | +$(LIBOBJS): $(LTLIBOBJS) |
38 | -- | 38 | -- |
39 | 2.7.4 | 39 | 2.7.4 |
40 | 40 | ||