bftpd: fix darwin build

Explicitly set the C standard to fix builds on new compilers.
This commit is contained in:
Stanisław Pitucha 2024-06-16 08:15:43 +10:00
parent 7566e46d76
commit c3a453e548

View File

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libxcrypt ];
CFLAGS = "-std=gnu89";
preConfigure = ''
sed -re 's/-[og] 0//g' -i Makefile*
'';