summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-05-07 01:28:46 +0200
committerunknown <lenz@mysql.com>2005-05-07 01:28:46 +0200
commitf5e0fd663dc00dc607ca608ff55ebec3dcea85d4 (patch)
treeb76d1d61c4f8b003556a490c55b16055b8b9e536 /BUILD
parent0430cdb7c51155de834f7e1268a862d5dd1a0210 (diff)
parentcae0d72898effe5e2e9d620562f01335fe1959ea (diff)
downloadmariadb-git-f5e0fd663dc00dc607ca608ff55ebec3dcea85d4.tar.gz
Merge mysql.com:/space/my/mysql-4.1-build
into mysql.com:/space/my/mysql-5.0-build
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/compile-dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/BUILD/compile-dist b/BUILD/compile-dist
index 7c177f54258..39095f59ffa 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