mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Fix bug#47137
Solaris binary packages should be compiled with '-g0', not '-g' The main fix for this is done in the build tools, but in the sources it affects "configure.in" which sets "DEBUG_CXXFLAGS" to be used in all debug builds.
This commit is contained in:
parent
607c399f8b
commit
c78915b218
1 changed files with 2 additions and 1 deletions
|
|
@ -1779,13 +1779,14 @@ then
|
||||||
DEBUG_OPTIMIZE_CXX="-O"
|
DEBUG_OPTIMIZE_CXX="-O"
|
||||||
OPTIMIZE_CXXFLAGS="$MAX_CXX_OPTIMIZE"
|
OPTIMIZE_CXXFLAGS="$MAX_CXX_OPTIMIZE"
|
||||||
else
|
else
|
||||||
DEBUG_CXXFLAGS="-g"
|
|
||||||
DEBUG_OPTIMIZE_CXX=""
|
DEBUG_OPTIMIZE_CXX=""
|
||||||
case $SYSTEM_TYPE in
|
case $SYSTEM_TYPE in
|
||||||
*solaris*)
|
*solaris*)
|
||||||
|
DEBUG_CXXFLAGS="-g0"
|
||||||
OPTIMIZE_CXXFLAGS="-O1"
|
OPTIMIZE_CXXFLAGS="-O1"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
DEBUG_CXXFLAGS="-g"
|
||||||
OPTIMIZE_CXXFLAGS="-O"
|
OPTIMIZE_CXXFLAGS="-O"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue