diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2003-04-01 00:15:04 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2003-04-01 00:15:04 +0000 |
commit | 7dc780cbeb6d2d57c0d5d7dd1b9a26d513f645dd (patch) | |
tree | 89eb6fb537daf0416f0a91b360206a837baeaf15 /build | |
parent | 430251ee55dcf3bd6536ae77358c198e249271e7 (diff) | |
download | libapr-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.m4 | 2 |
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 |