summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian2002-07-07 20:28:25 +0000
committerBruce Momjian2002-07-07 20:28:25 +0000
commit4f4753832ece907ee68fd4136fc0137966c74608 (patch)
tree92883ac761ac9ac81d892a2e185acf0ecae569d0 /src
parent712f69ece8c1221435371a4c0099b20ba81f15a2 (diff)
Move CXX platform-specific stuff into template files.
Diffstat (limited to 'src')
-rw-r--r--src/template/freebsd2
-rw-r--r--src/template/osf1
-rw-r--r--src/template/unixware1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/template/freebsd b/src/template/freebsd
index 1e8095a5d6a..c44e3602061 100644
--- a/src/template/freebsd
+++ b/src/template/freebsd
@@ -2,5 +2,5 @@ CFLAGS='-pipe'
case $host_cpu in
alpha*) CFLAGS="$CFLAGS -O";;
- CXXFLAGS="$CXXFLAGS -O"
+ GCC_CXXFLAGS="-O"
esac
diff --git a/src/template/osf b/src/template/osf
index 938120f73a1..c38cbec8b59 100644
--- a/src/template/osf
+++ b/src/template/osf
@@ -6,3 +6,4 @@ else
CFLAGS='-O4 -Olimit 2000'
CCC=cxx
fi
+VENDOR_CXXFLAGS='-O4 -Olimit 2000'
diff --git a/src/template/unixware b/src/template/unixware
index 3dc45073c6f..df54dc5f355 100644
--- a/src/template/unixware
+++ b/src/template/unixware
@@ -3,3 +3,4 @@ if test "$GCC" = yes; then
else
CFLAGS='-O -K inline'
fi
+VENDOR_CXXFLAGS="-O"