summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-05-07 12:19:35 +0200
committerunknown <lenz@mysql.com>2005-05-07 12:19:35 +0200
commit5a50551504afb19430d9872ad4681b711395b699 (patch)
treef8498d4c68db23da17256a31c7b9e972a5b37fee /BUILD
parent95e6873444e15f9866f774b4dfcda0374d21a4a2 (diff)
parentcae0d72898effe5e2e9d620562f01335fe1959ea (diff)
downloadmariadb-git-5a50551504afb19430d9872ad4681b711395b699.tar.gz
Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/my/mysql-4.1
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