summaryrefslogtreecommitdiff
path: root/BUILD/compile-dist
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-05-07 00:53:36 +0200
committerunknown <lenz@mysql.com>2005-05-07 00:53:36 +0200
commitbc6457fc369dcd7f02daa5b02e8a740cd698d926 (patch)
treecfca32fc0505d4dd79c5a0a069f5282d49180c23 /BUILD/compile-dist
parentede028b0638239f61812e3a0f226ca7adf451ed7 (diff)
downloadmariadb-git-bc6457fc369dcd7f02daa5b02e8a740cd698d926.tar.gz
- added some required CXXFLAGS to BUILD/compile-dist to allow the distribution build to pass without
unresolved symbols BUILD/compile-dist: - added some required CXXFLAGS to allow the distribution build to pass
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 ef6302f0d9c..4fa3c0a8624 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