diff options
author | Joerg Bruehe <joerg@mysql.com> | 2009-09-17 21:50:54 +0200 |
---|---|---|
committer | Joerg Bruehe <joerg@mysql.com> | 2009-09-17 21:50:54 +0200 |
commit | c78915b218e65afc5705b09d451a5587a645d8f2 (patch) | |
tree | 67698b7f08a6765f86d75e62a5cf93bee353833e /configure.in | |
parent | 607c399f8b65d4016d55b2e3c76c5322e87a30d9 (diff) | |
download | mariadb-git-c78915b218e65afc5705b09d451a5587a645d8f2.tar.gz |
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.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index a70bb3ca27f..e338a55f52e 100644 --- a/configure.in +++ b/configure.in @@ -1779,13 +1779,14 @@ then DEBUG_OPTIMIZE_CXX="-O" OPTIMIZE_CXXFLAGS="$MAX_CXX_OPTIMIZE" else - DEBUG_CXXFLAGS="-g" DEBUG_OPTIMIZE_CXX="" case $SYSTEM_TYPE in *solaris*) + DEBUG_CXXFLAGS="-g0" OPTIMIZE_CXXFLAGS="-O1" ;; *) + DEBUG_CXXFLAGS="-g" OPTIMIZE_CXXFLAGS="-O" ;; esac |