It appears we need -DSUNOS4_CC for both solaris and sunos4 templates.
authorTom Lane
Fri, 29 Jul 2005 17:00:29 +0000 (17:00 +0000)
committerTom Lane
Fri, 29 Jul 2005 17:00:29 +0000 (17:00 +0000)
Per report from Andrew Clark.

src/template/solaris

index e6ee10f560bd29370abef565895c5fbace3733f0..785fc3ea130c5753e5371088d5d10e691edbf7d9 100644 (file)
@@ -1,6 +1,6 @@
 if test "$GCC" != yes ; then
   CC="$CC -Xa"         # relaxed ISO C mode
-  CFLAGS="-v"          # -v is like gcc -Wall
+  CFLAGS="-v -DSUNOS4_CC"  # -v is like gcc -Wall
   if test "$enable_debug" != yes; then
     CFLAGS="$CFLAGS -O"        # any optimization breaks debug
   fi