Skip to contentSkip to conversation

ebizzy: patch for modern toolchains

PATCH Applied [email protected] 1 participant 1 message May 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 ebizzy: patch for modern toolchains

From: Riku Voipio <[email protected]>

Gcc prefers -pthread over -lpthread. On some legacy-free systems like Aarch64, compile and link with -lpthread doesn't work.

---
 pack/ebizzy.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
pack/ebizzy.patch +11 -0
index ef3477f..55c0c48 100644
@@ -1,4 +1,15 @@
 # patch from Mel Gorman's MMTests
+--- ebizzy-0.3/configure        2007-10-02 05:49:45.000000000 +0300
++++ ebizzy-0.3-fix/configure    2015-05-29 12:43:41.973028023 +0300
+@@ -16,7 +16,7 @@
+        exit 1
+ fi
+ 
+-LIBS="-lpthread"
++LIBS="-pthread"
+ FLAGS=""
+ 
+ case "$OS" in
 diff --git a/ebizzy.c b/ebizzy.c
 index 76c7492..3e7644f 100644
 --- a/ebizzy.c
Signature · 1 line
2.1.4