summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-04-01 00:15:04 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-04-01 00:15:04 +0000
commit7dc780cbeb6d2d57c0d5d7dd1b9a26d513f645dd (patch)
tree89eb6fb537daf0416f0a91b360206a837baeaf15 /build
parent430251ee55dcf3bd6536ae77358c198e249271e7 (diff)
downloadlibapr-7dc780cbeb6d2d57c0d5d7dd1b9a26d513f645dd.tar.gz
Solaris cc: Don't use the -mt option for threaded builds. That
is for non-Posix threading, and the use of it prevented us from linking with -lpthread, which in turn caused weird problems for APR applications. Submitted by: Kristofer Spinka <kspinka@style.net> Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64465 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/apr_threads.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/apr_threads.m4 b/build/apr_threads.m4
index ba7644aa1..83462d99e 100644
--- a/build/apr_threads.m4
+++ b/build/apr_threads.m4
@@ -117,7 +117,7 @@ APR_PTHREADS_CHECK_COMPILE
AC_CACHE_CHECK(for pthreads_cflags,ac_cv_pthreads_cflags,[
ac_cv_pthreads_cflags=""
if test "$pthreads_working" != "yes"; then
- for flag in -kthread -pthread -pthreads -mthreads -Kthread -threads -mt; do
+ for flag in -kthread -pthread -pthreads -mthreads -Kthread -threads; do
ac_save="$CFLAGS"
CFLAGS="$CFLAGS $flag"
APR_PTHREADS_CHECK_COMPILE