gpm: Fix build with gcc=15
This commit is contained in:
@@ -64,6 +64,9 @@ stdenv.mkDerivation {
|
|||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
(if withNcurses then "--with-curses" else "--without-curses")
|
(if withNcurses then "--with-curses" else "--without-curses")
|
||||||
|
# The code won't compile in c23 mode.
|
||||||
|
# https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters
|
||||||
|
"CFLAGS=-std=gnu17"
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user