* [ptxdist] [PATCH] socat: fix build system for parallel builds
@ 2015-08-26 7:06 Markus Niebel
0 siblings, 0 replies; only message in thread
From: Markus Niebel @ 2015-08-26 7:06 UTC (permalink / raw)
To: ptxdist; +Cc: m.olbrich, Markus Niebel
From: Markus Niebel <Markus.Niebel@tq-group.com>
when doing parallel builds, linking of filan sometimes fails.
This patch brings in the fix found in:
http://lists.openembedded.org/pipermail/openembedded-core/2015-May/104718.html
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
.../socat-1.7.3.0/0001-fix-parallel-build.patch | 23 ++++++++++++++++++++++
patches/socat-1.7.3.0/series | 1 +
2 files changed, 24 insertions(+)
create mode 100644 patches/socat-1.7.3.0/0001-fix-parallel-build.patch
create mode 100644 patches/socat-1.7.3.0/series
diff --git a/patches/socat-1.7.3.0/0001-fix-parallel-build.patch b/patches/socat-1.7.3.0/0001-fix-parallel-build.patch
new file mode 100644
index 0000000..ed01541
--- /dev/null
+++ b/patches/socat-1.7.3.0/0001-fix-parallel-build.patch
@@ -0,0 +1,23 @@
+From: Markus Niebel <Markus.Niebel@tq-group.de>
+Date: Tue, 25 Aug 2015 17:48:55 +0200
+Subject: [PATCH] Makefile.in: fix for parallel build
+
+Let filan depend on vsnprintf_r.o and snprinterr.o to fix the issue.
+
+original patch for OE-Core by: Robert Yang <liezhi.yang at windriver.com>
+
+Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.de>
+---
+
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -118,7 +118,7 @@ PROCAN_OBJS=procan_main.o procan.o proca
+ procan: $(PROCAN_OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(PROCAN_OBJS) $(CLIBS)
+
+-filan: filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o
++filan: filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o $(CLIBS)
+
+ libxio.a: $(XIOOBJS) $(UTLOBJS)
diff --git a/patches/socat-1.7.3.0/series b/patches/socat-1.7.3.0/series
new file mode 100644
index 0000000..51ff874
--- /dev/null
+++ b/patches/socat-1.7.3.0/series
@@ -0,0 +1 @@
+0001-fix-parallel-build.patch
--
2.3.0
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-26 7:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-26 7:06 [ptxdist] [PATCH] socat: fix build system for parallel builds Markus Niebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox