1 if test "$GCC" != yes ; then
2 CC="$CC -Xa" # relaxed ISO C mode
3 CFLAGS="-v -DSUNOS4_CC" # -v is like gcc -Wall
4 if test "$enable_debug" != yes; then
5 CFLAGS="$CFLAGS -O" # any optimization breaks debug
8 # Pick the right test-and-set (TAS) code for the Sun compiler.
9 # We would like to use in-line assembler, but the compiler
10 # requires *.il files to be on every compile line, making
11 # the build system too fragile.
15 tas_file=solaris_sparc.s
19 tas_file=solaris_x86.s
24 # -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things