summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-03-18 20:35:00 -0700
committerMatt Turner <mattst88@gentoo.org>2020-03-18 20:47:00 -0700
commitb7ccac2324f4c24672efc312ce2209887c63410e (patch)
treecad367f0b9142fd0ed28a98384cd9dc04fa23ea4 /dev-db/mariadb
parentapp-emulation/libvirt: drop old, bug #711524 (diff)
downloadgentoo-b7ccac2324f4c24672efc312ce2209887c63410e.tar.gz
gentoo-b7ccac2324f4c24672efc312ce2209887c63410e.tar.bz2
gentoo-b7ccac2324f4c24672efc312ce2209887c63410e.zip
dev-db/mariadb: Add -Wl,--no-relax to fix build on alpha
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-db/mariadb')
-rw-r--r--dev-db/mariadb/mariadb-10.4.12.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-db/mariadb/mariadb-10.4.12.ebuild b/dev-db/mariadb/mariadb-10.4.12.ebuild
index 0e5f5ec5df15..b355f9f09486 100644
--- a/dev-db/mariadb/mariadb-10.4.12.ebuild
+++ b/dev-db/mariadb/mariadb-10.4.12.ebuild
@@ -325,6 +325,9 @@ src_configure() {
# Bug #114895, bug #110149
filter-flags "-O" "-O[01]"
+ # It fails on alpha without this
+ use alpha && append-ldflags "-Wl,--no-relax"
+
append-cxxflags -felide-constructors
# bug #283926, with GCC4.4, this is required to get correct behavior.