summaryrefslogtreecommitdiff
path: root/dev-db/mysql-workbench
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/mysql-workbench')
-rw-r--r--dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild5
-rw-r--r--dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild
index bb6113df89ed..1b9cbeeefbf0 100644
--- a/dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild
+++ b/dev-db/mysql-workbench/mysql-workbench-8.0.36.ebuild
@@ -92,6 +92,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/924671
+ # https://bugs.mysql.com/bug.php?id=115735
+ filter-lto
+
if has_version dev-db/libiodbc ; then
IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config"
fi
diff --git a/dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild b/dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild
index 584f3a01ce3c..70131a7b738a 100644
--- a/dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild
+++ b/dev-db/mysql-workbench/mysql-workbench-8.0.38.ebuild
@@ -90,6 +90,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/924671
+ # https://bugs.mysql.com/bug.php?id=115735
+ filter-lto
+
if has_version dev-db/libiodbc ; then
IODBC="-DIODBC_CONFIG_PATH=/usr/bin/iodbc-config"
fi