diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2024-11-19 23:07:55 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2024-11-19 23:08:43 -0500 |
commit | 0042df2bf59960f3de3422dd7f2d2efa605b0bb6 (patch) | |
tree | 4969893fc7fcbdeba130824dbe07e3e86b3b7d64 /sci-mathematics | |
parent | kde-frameworks/solid: Stabilize 5.116.0-r1 x86, #943550 (diff) | |
download | gentoo-0042df2bf59960f3de3422dd7f2d2efa605b0bb6.tar.gz gentoo-0042df2bf59960f3de3422dd7f2d2efa605b0bb6.tar.bz2 gentoo-0042df2bf59960f3de3422dd7f2d2efa605b0bb6.zip |
sci-mathematics/glpk: fix the build with gcc-15
Closes: https://bugs.gentoo.org/943883
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/glpk/glpk-5.0-r3.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-mathematics/glpk/glpk-5.0-r3.ebuild b/sci-mathematics/glpk/glpk-5.0-r3.ebuild index 477d3016240a..15451c216ae9 100644 --- a/sci-mathematics/glpk/glpk-5.0-r3.ebuild +++ b/sci-mathematics/glpk/glpk-5.0-r3.ebuild @@ -48,6 +48,10 @@ src_prepare() { use odbc && [[ -z $(type -P odbc_config) ]] && \ append-cppflags $($(tc-getPKG_CONFIG) --cflags libiodbc) + # Newer GNU standards fail to compile thanks to "bool", while using + # ISO C17 breaks thread safety... and also fails to compile. + append-cflags -std=gnu17 + default eautoreconf |