mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
configure.in:
Enable build with CXX=gcc and gcc version 4 configure.in: Enable build with CXX=gcc and gcc version 4
This commit is contained in:
parent
0beb0abf5a
commit
2fec2ba4c9
1 changed files with 6 additions and 1 deletions
|
@ -370,9 +370,14 @@ then
|
|||
|
||||
if echo $CXX | grep gcc > /dev/null 2>&1
|
||||
then
|
||||
if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1
|
||||
AC_MSG_CHECKING([if CXX is gcc 3 or 4])
|
||||
if $CXX -v 2>&1 | grep 'version [[34]]' > /dev/null 2>&1
|
||||
then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_MSG_NOTICE([using MySQL tricks to avoid linking C++ code with C++ libraries])
|
||||
CXXFLAGS="$CXXFLAGS -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL"
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue