mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
- 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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user