Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql/
Date: Wed, 28 Apr 2021 13:20:26
Message-Id: 1619615959.31ec9d3e6820d715a2d2d3389504fd0185671aee.whissi@gentoo
1 commit: 31ec9d3e6820d715a2d2d3389504fd0185671aee
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 28 12:19:17 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 13:19:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ec9d3e
7
8 dev-db/mysql: force C++14
9
10 Closes: https://bugs.gentoo.org/786402
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 dev-db/mysql/mysql-5.7.34.ebuild | 3 +++
15 dev-db/mysql/mysql-8.0.24.ebuild | 3 +++
16 2 files changed, 6 insertions(+)
17
18 diff --git a/dev-db/mysql/mysql-5.7.34.ebuild b/dev-db/mysql/mysql-5.7.34.ebuild
19 index dafc75c834e..da6fe570622 100644
20 --- a/dev-db/mysql/mysql-5.7.34.ebuild
21 +++ b/dev-db/mysql/mysql-5.7.34.ebuild
22 @@ -269,6 +269,9 @@ src_configure() {
23
24 append-cxxflags -felide-constructors
25
26 + # code is not C++17 ready, bug #786402
27 + append-cxxflags -std=c++14
28 +
29 # bug #283926, with GCC4.4, this is required to get correct behavior.
30 append-flags -fno-strict-aliasing
31
32
33 diff --git a/dev-db/mysql/mysql-8.0.24.ebuild b/dev-db/mysql/mysql-8.0.24.ebuild
34 index 3d12bfc88fb..a76d3a37969 100644
35 --- a/dev-db/mysql/mysql-8.0.24.ebuild
36 +++ b/dev-db/mysql/mysql-8.0.24.ebuild
37 @@ -193,6 +193,9 @@ src_configure() {
38
39 append-cxxflags -felide-constructors
40
41 + # code is not C++17 ready, bug #786402
42 + append-cxxflags -std=c++14
43 +
44 # bug #283926, with GCC4.4, this is required to get correct behavior.
45 append-flags -fno-strict-aliasing