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:
parent
7566e46d76
commit
c3a453e548
|
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libxcrypt ];
|
||||
|
||||
CFLAGS = "-std=gnu89";
|
||||
|
||||
preConfigure = ''
|
||||
sed -re 's/-[og] 0//g' -i Makefile*
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue