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
|
2003-10-25 17:32:11 +02:00
|
|
|
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
|
|
|
|
2003-12-23 19:40:53 +01:00
|
|
|
# Pick right test-and-set (TAS) code.
|
|
|
|
case $host in
|
|
|
|
sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;
|
|
|
|
i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;;
|
|
|
|
esac
|
|
|
|
|
2004-03-22 02:50:31 +01:00
|
|
|
# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
|