2003-10-09 05:20:34 +02:00
|
|
|
if test "$GCC" != yes ; then
|
2000-10-10 23:22:29 +02:00
|
|
|
CC="$CC -Xa" # relaxed ISO C mode
|
2004-11-27 06:03:26 +01:00
|
|
|
CFLAGS="$CFLAGS -O -v" # -v is like gcc -Wall
|
2000-07-15 17:54:52 +02:00
|
|
|
fi
|
2003-09-13 16:49:51 +02:00
|
|
|
|
2004-09-24 02:21:32 +02:00
|
|
|
# Pick right test-and-set (TAS) code. We need out-of-line assembler
|
|
|
|
# when not using gcc.
|
2003-12-23 19:40:53 +01:00
|
|
|
case $host in
|
2004-09-24 02:21:32 +02:00
|
|
|
sparc-*-solaris*)
|
|
|
|
if test "$GCC" != yes ; then
|
|
|
|
need_tas=yes
|
|
|
|
tas_file=solaris_sparc.s
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
i?86-*-solaris*)
|
|
|
|
if test "$GCC" != yes ; then
|
|
|
|
need_tas=yes
|
|
|
|
tas_file=solaris_i386.s
|
|
|
|
fi
|
|
|
|
;;
|
2003-12-23 19:40:53 +01:00
|
|
|
esac
|
|
|
|
|
2004-03-22 02:50:31 +01:00
|
|
|
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
|