From: Matt Turner Date: Thu, 19 Mar 2020 03:35:00 +0000 (-0700) Subject: dev-db/mariadb: Add -Wl,--no-relax to fix build on alpha X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7ccac2324f4c24672efc312ce2209887c63410e;p=gentoo.git dev-db/mariadb: Add -Wl,--no-relax to fix build on alpha Signed-off-by: Matt Turner --- 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.