Skip to content

Commit cf4d324

Browse files
committed
Add "-mt" link flag for Solaris non-gcc compiles when using threads ---
required.
1 parent 9888192 commit cf4d324

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/template/solaris

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ esac
1212
THREAD_SUPPORT=yes
1313
NEED_REENTRANT_FUNCS=yes # 5.6 2003-09-13
1414
THREAD_LIBS="-pthread"
15+
if test "$GCC" != yes
16+
then THREAD_LIBS="-mt $THREAD_LIBS"
17+
fi
18+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy