mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
net-libs/webkit-gtk: filter LTO
ODR violations thanks to Bison. Fortunately, upstream are open to fixing it, it just needs a hack like GDB did, or could even maybe just do --name-prefix or something if Bison-only is OK. Closes: https://bugs.gentoo.org/866896 Closes: https://bugs.gentoo.org/915230 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -159,6 +159,9 @@ src_configure() {
|
||||
# Respect CC, otherwise fails on prefix #395875
|
||||
tc-export CC
|
||||
|
||||
# ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007)
|
||||
filter-lto
|
||||
|
||||
# It does not compile on alpha without this in LDFLAGS
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -160,6 +160,9 @@ src_configure() {
|
||||
# Respect CC, otherwise fails on prefix #395875
|
||||
tc-export CC
|
||||
|
||||
# ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007)
|
||||
filter-lto
|
||||
|
||||
# It does not compile on alpha without this in LDFLAGS
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -157,6 +157,9 @@ src_configure() {
|
||||
# Respect CC, otherwise fails on prefix #395875
|
||||
tc-export CC
|
||||
|
||||
# ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007)
|
||||
filter-lto
|
||||
|
||||
# It does not compile on alpha without this in LDFLAGS
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
@@ -161,6 +161,9 @@ src_configure() {
|
||||
# Respect CC, otherwise fails on prefix #395875
|
||||
tc-export CC
|
||||
|
||||
# ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007)
|
||||
filter-lto
|
||||
|
||||
# It does not compile on alpha without this in LDFLAGS
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
@@ -162,6 +162,9 @@ src_configure() {
|
||||
# Respect CC, otherwise fails on prefix #395875
|
||||
tc-export CC
|
||||
|
||||
# ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007)
|
||||
filter-lto
|
||||
|
||||
# It does not compile on alpha without this in LDFLAGS
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
@@ -159,6 +159,9 @@ src_configure() {
|
||||
# Respect CC, otherwise fails on prefix #395875
|
||||
tc-export CC
|
||||
|
||||
# ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007)
|
||||
filter-lto
|
||||
|
||||
# It does not compile on alpha without this in LDFLAGS
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
Reference in New Issue
Block a user