1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.net

This commit is contained in:
Tom Lane
2004-12-29 23:47:40 +00:00
parent ec0e307596
commit 96ecf9d5aa
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,7 @@
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
fi