diff options
author | Brian Evans <grknight@gentoo.org> | 2015-09-18 10:49:58 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2015-09-18 10:49:58 -0400 |
commit | 2d00da0c3ecc1d4beba6205dd869a4897ffccc10 (patch) | |
tree | d356142a537e377f0c06fd5f3180bcf8c7593212 /eclass/mysql-multilib.eclass | |
parent | net-libs/rb_libtorrent: Fix USE=examples build. Bug #550252 (diff) | |
download | gentoo-2d00da0c3ecc1d4beba6205dd869a4897ffccc10.tar.gz gentoo-2d00da0c3ecc1d4beba6205dd869a4897ffccc10.tar.bz2 gentoo-2d00da0c3ecc1d4beba6205dd869a4897ffccc10.zip |
Update mysql eclasses with code to support new dev-db/percona-server
This was accidentially forgotten and generated bugs 560730 and 560734
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'eclass/mysql-multilib.eclass')
-rw-r--r-- | eclass/mysql-multilib.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/mysql-multilib.eclass b/eclass/mysql-multilib.eclass index 888cfd4c49c0..d880267f2856 100644 --- a/eclass/mysql-multilib.eclass +++ b/eclass/mysql-multilib.eclass @@ -575,7 +575,9 @@ mysql-multilib_src_configure() { CXXFLAGS="${CXXFLAGS} -fno-implicit-templates" fi # As of 5.7, exceptions are used! - if ! mysql_version_is_at_least "5.7" ; then + if [[ ${PN} == "percona-server" ]] && mysql_version_is_at_least "5.6.26" ; then + CXXFLAGS="${CXXFLAGS} -fno-rtti" + elif ! mysql_version_is_at_least "5.7" ; then CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-rtti" fi export CXXFLAGS |