From: Markus Niebel <[email protected]>

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 <[email protected]>
---
 .../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 <[email protected]>
+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 <[email protected]>
+---
+
+
+--- 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
[email protected]

Reply via email to