summaryrefslogtreecommitdiff
path: root/BUILD/compile-dist
diff options
context:
space:
mode:
authorlars@mysql.com <>2005-05-09 11:45:59 +0200
committerlars@mysql.com <>2005-05-09 11:45:59 +0200
commite76c6411906f0eeb159fd3cb57ddc697ee05d931 (patch)
tree075608ca4d88921bffb8479717d99dadb29f3770 /BUILD/compile-dist
parent3ff9aa5fa1039446db6029e46e3d0e4fe8594413 (diff)
parentb2fc830459eb5f03caa4cb73005ead95c0f72924 (diff)
downloadmariadb-git-e76c6411906f0eeb159fd3cb57ddc697ee05d931.tar.gz
Merge mysql.com:/home/bk/mysql-5.0 into mysql.com:/home/bk/mysql-5.1
Diffstat (limited to 'BUILD/compile-dist')
-rwxr-xr-xBUILD/compile-dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/BUILD/compile-dist b/BUILD/compile-dist
index 248f4bb04ce..a8d180eace1 100755
--- a/BUILD/compile-dist
+++ b/BUILD/compile-dist
@@ -18,12 +18,17 @@ autoconf
# Default to gcc for CC and CXX
if test -z "$CXX" ; then
export CXX=gcc
+ # Set some required compile options
+ if test -z "$CXXFLAGS" ; then
+ export CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti"
+ fi
fi
if test -z "$CC" ; then
export CC=gcc
fi
+
# Use ccache, if available
if ccache -V > /dev/null 2>&1
then