1 if test "$SUN_STUDIO_CC" = yes ; then
2 CC="$CC -Xa" # relaxed ISO C mode
3 CFLAGS="-v" # -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=sunstudio_sparc.s
19 tas_file=sunstudio_x86.s