Commit c3a453e5 authored by Stanisław Pitucha's avatar Stanisław Pitucha
Browse files

bftpd: fix darwin build

Explicitly set the C standard to fix builds on new compilers.
parent 7566e46d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {

  buildInputs = [ libxcrypt ];

  CFLAGS = "-std=gnu89";

  preConfigure = ''
    sed -re 's/-[og] 0//g' -i Makefile*
  '';