gtypist: fix new clang

New clang defaults to C standard higher than 89. Gtypist fails to
compile with that.
Explicitly set gnu89 when compiling instead.
This commit is contained in:
Stanisław Pitucha 2024-04-29 11:22:56 +10:00
parent 448c5af692
commit 837003bc80
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0xzrkkmj0b1dw3yr0m9hml2y634cc4h61im6zwcq57s7285z8fn1";
};
CFLAGS = "-std=gnu89";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ ncurses perl fortune ]
++ lib.optional stdenv.isDarwin libiconv;