summaryrefslogtreecommitdiff
path: root/BUILD/compile-dist
diff options
context:
space:
mode:
authorlenz@mysql.com <>2005-05-07 01:18:01 +0200
committerlenz@mysql.com <>2005-05-07 01:18:01 +0200
commitdd006cad21e411205c80ab1b0538605420fcb63d (patch)
tree628d4c95510edcedd8ac8fb932b4ddba2854d0e5 /BUILD/compile-dist
parentc95e33fadf9add5fa107f675044a407ffbed1b29 (diff)
parentb3d916468d6e083808e502c58566ea9eff6d8230 (diff)
downloadmariadb-git-dd006cad21e411205c80ab1b0538605420fcb63d.tar.gz
Merge mysql.com:/space/my/mysql-4.0-build
into mysql.com:/space/my/mysql-4.1-build
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 7c177f54258..e17b3151d0d 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