[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10754: when cross-compiling, assume
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10754: when cross-compiling, assume we don't need any flags for pthreads support. |
Date: |
Mon, 30 Mar 2009 17:35:25 -0600 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10754
committer: address@hidden
branch nick: trunk
timestamp: Mon 2009-03-30 17:35:25 -0600
message:
when cross-compiling, assume we don't need any flags for pthreads support.
modified:
macros/pthreads.m4
=== modified file 'macros/pthreads.m4'
--- a/macros/pthreads.m4 2009-02-25 22:33:03 +0000
+++ b/macros/pthreads.m4 2009-03-30 23:35:25 +0000
@@ -57,7 +57,14 @@
dnl which indicates that we try without any flags at all, and "pthread-config"
dnl which is a program returning the flags for the Pth emulation library.
-pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads
-mthreads pthread --thread-safe -mt pthread-config pth-config"
+pthread_flags="pthreads none lthread -pthread -pthreads -mthreads pthread
--thread-safe -mt pthread-config pth-config"
+
+dnl When cross configuring, we're always using GCC, and we always have a
platform
+dnl with pthreads in that case, but it's often sonewhere non-standard, so
+dnl unless this is a problem, assume we don't need any special flags.
+if test x$cross_compiling = xyes; then
+ pthread_flags="none"
+fi
dnl The ordering *is* (sometimes) important. Some notes on the
dnl individual items follow:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10754: when cross-compiling, assume we don't need any flags for pthreads support.,
rob <=