summaryrefslogtreecommitdiff
path: root/BUILD/compile-dist
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-05-07 01:18:01 +0200
committerunknown <lenz@mysql.com>2005-05-07 01:18:01 +0200
commit022f3c40867c57046b347afb0f1cfe65c57031d9 (patch)
tree628d4c95510edcedd8ac8fb932b4ddba2854d0e5 /BUILD/compile-dist
parent71c6170632b23930d3aaae920f9bed30131703b6 (diff)
parent267946ecce3e281d8e40e816db3cf64b38ea80ff (diff)
downloadmariadb-git-022f3c40867c57046b347afb0f1cfe65c57031d9.tar.gz
Merge mysql.com:/space/my/mysql-4.0-build
into mysql.com:/space/my/mysql-4.1-build BUILD/compile-dist: Auto merged
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