mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user