summaryrefslogtreecommitdiff
path: root/sci-mathematics/glpk/glpk-5.0-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-05 07:05:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-05 07:05:51 +0000
commit66a7d60eb8beba754ba79c2752cbf70fcf741b0b (patch)
treeba0fa0ac1410fd921f6c30cffbebda88ac06f61e /sci-mathematics/glpk/glpk-5.0-r2.ebuild
parent5c6b55db727bab81f5c3625597b29583c30186a3 (diff)
gentoo auto-resync : 05:03:2024 - 07:05:50
Diffstat (limited to 'sci-mathematics/glpk/glpk-5.0-r2.ebuild')
-rw-r--r--sci-mathematics/glpk/glpk-5.0-r2.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/sci-mathematics/glpk/glpk-5.0-r2.ebuild b/sci-mathematics/glpk/glpk-5.0-r2.ebuild
index ccc0e863233f..af7007591862 100644
--- a/sci-mathematics/glpk/glpk-5.0-r2.ebuild
+++ b/sci-mathematics/glpk/glpk-5.0-r2.ebuild
@@ -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"