Index: src/backend/storage/lmgr/s_lock.c =================================================================== RCS file: /cvsroot/pgsql/src/backend/storage/lmgr/s_lock.c,v retrieving revision 1.35 diff -c -c -r1.35 s_lock.c *** src/backend/storage/lmgr/s_lock.c 31 Dec 2004 22:01:05 -0000 1.35 --- src/backend/storage/lmgr/s_lock.c 30 Jul 2005 03:03:20 -0000 *************** *** 241,247 **** * *lock); */ { ! #ifdef SUNOS4_CC asm(".seg \"data\""); asm(".seg \"text\""); #else --- 241,247 ---- * *lock); */ { ! #ifdef SUNOS_CC asm(".seg \"data\""); asm(".seg \"text\""); #else Index: src/template/solaris =================================================================== RCS file: /cvsroot/pgsql/src/template/solaris,v retrieving revision 1.22 diff -c -c -r1.22 solaris *** src/template/solaris 2 Dec 2004 18:11:40 -0000 1.22 --- src/template/solaris 30 Jul 2005 03:03:21 -0000 *************** *** 1,6 **** if test "$GCC" != yes ; then CC="$CC -Xa" # relaxed ISO C mode ! CFLAGS="-v" # -v is like gcc -Wall if test "$enable_debug" != yes; then CFLAGS="$CFLAGS -O" # any optimization breaks debug fi --- 1,6 ---- if test "$GCC" != yes ; then CC="$CC -Xa" # relaxed ISO C mode ! CFLAGS="-v -DSUNOS_CC" # -v is like gcc -Wall if test "$enable_debug" != yes; then CFLAGS="$CFLAGS -O" # any optimization breaks debug fi Index: src/template/sunos4 =================================================================== RCS file: /cvsroot/pgsql/src/template/sunos4,v retrieving revision 1.4 diff -c -c -r1.4 sunos4 *** src/template/sunos4 29 Dec 2004 23:47:40 -0000 1.4 --- src/template/sunos4 30 Jul 2005 03:03:21 -0000 *************** *** 1,6 **** if test "$GCC" != yes ; then CC="$CC -Xa" # relaxed ISO C mode ! CFLAGS="-v -DSUNOS4_CC" # -v is like gcc -Wall if test "$enable_debug" != yes; then CFLAGS="$CFLAGS -O" # any optimization breaks debug fi --- 1,6 ---- if test "$GCC" != yes ; then CC="$CC -Xa" # relaxed ISO C mode ! CFLAGS="-v -DSUNOS_CC" # -v is like gcc -Wall if test "$enable_debug" != yes; then CFLAGS="$CFLAGS -O" # any optimization breaks debug fi