mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01: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:
parent
ede028b063
commit
bc6457fc36
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue