Skip to content

Commit

Permalink
dev-db/mysql: force C++14
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/786402
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <[email protected]>
  • Loading branch information
Whissi committed Apr 28, 2021
1 parent 7ee2b4e commit 31ec9d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-db/mysql/mysql-5.7.34.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions dev-db/mysql/mysql-8.0.24.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 31ec9d3

Please sign in to comment.