mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
modphp: revert pthread-check.patch and add one against threads.m4
revert pthread-check.patch which hacks the old configure, instead, add one against threads.m4 to enable pthread support when cross-compiling. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
committed by
Paul Eggleton
parent
d22869df83
commit
12b72e1eaf
@@ -0,0 +1,30 @@
|
||||
From d8067ceacbf54e79c9c6b68675332c09eaa0b55d Mon Sep 17 00:00:00 2001
|
||||
From: Jackie Huang <jackie.huang@windriver.com>
|
||||
Date: Mon, 8 Apr 2013 14:29:51 +0800
|
||||
Subject: [PATCH] pthread-check
|
||||
|
||||
Enable pthreads support when cross-compiling
|
||||
|
||||
Upstream-Status: Inapproprate [config]
|
||||
|
||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||
---
|
||||
TSRM/threads.m4 | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/TSRM/threads.m4 b/TSRM/threads.m4
|
||||
index 38494ce..15d9454 100644
|
||||
--- a/TSRM/threads.m4
|
||||
+++ b/TSRM/threads.m4
|
||||
@@ -86,7 +86,7 @@ int main() {
|
||||
pthreads_working=no
|
||||
], [
|
||||
dnl For cross compiling running this test is of no use. NetWare supports pthreads
|
||||
- pthreads_working=no
|
||||
+ pthreads_working=yes
|
||||
case $host_alias in
|
||||
*netware*)
|
||||
pthreads_working=yes
|
||||
--
|
||||
1.7.4.1
|
||||
|
||||
Reference in New Issue
Block a user