Commit b3d91646 authored by lenz@mysql.com's avatar lenz@mysql.com

- added some required CXXFLAGS to BUILD/compile-dist to allow the distribution...

- added some required CXXFLAGS to BUILD/compile-dist to allow the distribution build to pass without
  unresolved symbols
parent bc27c14e
...@@ -18,12 +18,17 @@ autoconf ...@@ -18,12 +18,17 @@ autoconf
# Default to gcc for CC and CXX # Default to gcc for CC and CXX
if test -z "$CXX" ; then if test -z "$CXX" ; then
export CXX=gcc export CXX=gcc
# Set some required compile options
if test -z "$CXXFLAGS" ; then
export CXXFLAGS=""-felide-constructors -fno-exceptions -fno-rtti""
fi
fi fi
if test -z "$CC" ; then if test -z "$CC" ; then
export CC=gcc export CC=gcc
fi fi
# Use ccache, if available # Use ccache, if available
if ccache -V > /dev/null 2>&1 if ccache -V > /dev/null 2>&1
then then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment