1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

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*
'';