mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sci-mathematics/glpk: mark as LTO-unsafe, strict-aliasing unsafe
It has been reported upstream but no response. Closes: https://bugs.gentoo.org/863047 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> 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=7
|
||||
@@ -49,6 +49,15 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing
|
||||
# https://bugs.gentoo.org/863047
|
||||
# https://lists.gnu.org/archive/html/bug-glpk/2022-08/msg00000.html
|
||||
# No upstream response...
|
||||
#
|
||||
# Do not trust it to LTO either.
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
local myconf
|
||||
if use mysql || use odbc; then
|
||||
myconf="--enable-dl"
|
||||
|
||||
@@ -53,6 +53,15 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing
|
||||
# https://bugs.gentoo.org/863047
|
||||
# https://lists.gnu.org/archive/html/bug-glpk/2022-08/msg00000.html
|
||||
# No upstream response...
|
||||
#
|
||||
# Do not trust it to LTO either.
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
local myconf
|
||||
if use mysql || use odbc; then
|
||||
myconf="--enable-dl"
|
||||
|
||||
Reference in New Issue
Block a user