Commit 267946ec authored by unknown's avatar unknown

- 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


BUILD/compile-dist:
  - added some required CXXFLAGS to allow the distribution build to pass
parent 72a1a2d8
...@@ -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