summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorPeter Eisentraut2000-10-22 22:15:13 +0000
committerPeter Eisentraut2000-10-22 22:15:13 +0000
commitfba790ad586727c54d0ed12f3c9679f9533d2c6f (patch)
treeda276b3f07b84f41cf4e8ecd3a589ee4ccb87763 /src/template
parent3c5d000749131f32bd77bae30add25035c1fd070 (diff)
Makeover for Unixware 7.1.1
* Makefile: Add more standard targets. Improve shell redirection in GNU make detection. * src/backend/access/transam/rmgr.c: Fix incorrect(?) C. * src/backend/libpq/pqcomm.c (StreamConnection): Work around accept() bug. * src/include/port/unixware.h: ...with help from here. * src/backend/nodes/print.c (plannode_type): Remove some "break"s after "return"s. * src/backend/tcop/dest.c (DestToFunction): ditto. * src/backend/nodes/readfuncs.c: Add proper prototypes. * src/backend/utils/adt/numutils.c (pg_atoi): Cope specially with strtol() setting EINVAL. This saves us from creating an extra set of regression test output for the affected systems. * src/include/storage/s_lock.h (tas): Correct prototype. * src/interfaces/libpq/fe-connect.c (parseServiceInfo): Don't use variable as dimension in array definition. * src/makefiles/Makefile.unixware: Add support for GCC. * src/template/unixware: same here * src/test/regress/expected/abstime-solaris-1947.out: Adjust whitespace. * src/test/regress/expected/horology-solaris-1947.out: Part of this file was evidently missing. * src/test/regress/pg_regress.sh: Fix shell. mkdir -p returns non-zero if the directory exists. * src/test/regress/resultmap: Add entries for Unixware.
Diffstat (limited to 'src/template')
-rw-r--r--src/template/unixware8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/template/unixware b/src/template/unixware
index a7e715bdc3..3dc45073c6 100644
--- a/src/template/unixware
+++ b/src/template/unixware
@@ -1,3 +1,5 @@
-CFLAGS='-O -K host,inline,loop_unroll,alloca -Dsvr4'
-SRCH_INC='/opt/include'
-SRCH_LIB='/opt/lib'
+if test "$GCC" = yes; then
+ CFLAGS=-O2
+else
+ CFLAGS='-O -K inline'
+fi