summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorlenz@mysql.com <>2005-05-07 12:19:35 +0200
committerlenz@mysql.com <>2005-05-07 12:19:35 +0200
commitb0196446e0c10c525ece5816dc7855416391d08a (patch)
treef8498d4c68db23da17256a31c7b9e972a5b37fee /BUILD
parent8f150cc664bde86bbf6c1bca4f40cdbade8ce7ec (diff)
parent6b10b260056eab621147bb8f763351a0bb6d510d (diff)
downloadmariadb-git-b0196446e0c10c525ece5816dc7855416391d08a.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