summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-04-28 14:19:17 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-04-28 15:19:19 +0200
commit31ec9d3e6820d715a2d2d3389504fd0185671aee (patch)
treea0765b754094c74db35c82479718b7427acfeb88
parentnet-im/telegram-desktop: fix USE=-dbus (diff)
downloadgentoo-31ec9d3e.tar.gz
gentoo-31ec9d3e.tar.bz2
gentoo-31ec9d3e.zip
dev-db/mysql: force C++14
Closes: https://bugs.gentoo.org/786402 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--dev-db/mysql/mysql-5.7.34.ebuild3
-rw-r--r--dev-db/mysql/mysql-8.0.24.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-db/mysql/mysql-5.7.34.ebuild b/dev-db/mysql/mysql-5.7.34.ebuild
index dafc75c834e9..da6fe5706221 100644
--- a/dev-db/mysql/mysql-5.7.34.ebuild
+++ b/dev-db/mysql/mysql-5.7.34.ebuild
@@ -269,6 +269,9 @@ src_configure() {
append-cxxflags -felide-constructors
+ # code is not C++17 ready, bug #786402
+ append-cxxflags -std=c++14
+
# bug #283926, with GCC4.4, this is required to get correct behavior.
append-flags -fno-strict-aliasing
diff --git a/dev-db/mysql/mysql-8.0.24.ebuild b/dev-db/mysql/mysql-8.0.24.ebuild
index 3d12bfc88fb7..a76d3a37969f 100644
--- a/dev-db/mysql/mysql-8.0.24.ebuild
+++ b/dev-db/mysql/mysql-8.0.24.ebuild
@@ -193,6 +193,9 @@ src_configure() {
append-cxxflags -felide-constructors
+ # code is not C++17 ready, bug #786402
+ append-cxxflags -std=c++14
+
# bug #283926, with GCC4.4, this is required to get correct behavior.
append-flags -fno-strict-aliasing