summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 dafc75c834e..da6fe570622 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 3d12bfc88fb..a76d3a37969 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