sci-mathematics/glpk: fix the build with gcc-15

Closes: https://bugs.gentoo.org/943883
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2024-11-19 23:07:55 -05:00
parent e3cdc23f89
commit 0042df2bf5

View File

@@ -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