Commit fda34496 authored by Bruce Momjian's avatar Bruce Momjian

Update gcc solaris flags.

parent dbd5390a
...@@ -11,9 +11,8 @@ esac ...@@ -11,9 +11,8 @@ esac
# tools/thread/thread_test must be run # tools/thread/thread_test must be run
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things # -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
if test "$GCC" = yes THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS"
then THREAD_CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" if test "$GCC" != yes
THREAD_LIBS="-pthread" then THREAD_CPPFLAGS="$THREAD_CPPFLAGS -mt"
else THREAD_CPPFLAGS="-mt -D_POSIX_PTHREAD_SEMANTICS"
THREAD_LIBS="-lpthread"
fi fi
THREAD_LIBS="-lpthread"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment