From b3d916468d6e083808e502c58566ea9eff6d8230 Mon Sep 17 00:00:00 2001 From: "lenz@mysql.com" <> Date: Sat, 7 May 2005 00:53:36 +0200 Subject: [PATCH] - added some required CXXFLAGS to BUILD/compile-dist to allow the distribution build to pass without unresolved symbols --- BUILD/compile-dist | 5 +++++ 1 file changed, 5 insertions(+) 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