Skip to content

Commit 68a61b1

Browse files
matteo-paciniMatteo Pacini
andauthored
libspf2: fix darwin build (#353188)
Co-authored-by: Matteo Pacini <[email protected]>
1 parent 92d4367 commit 68a61b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/development/libraries/libspf2/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
2323
-e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am
2424
'';
2525

26+
CFLAGS = lib.optionalString stdenv.cc.isClang "-Wno-implicit-function-declaration";
27+
2628
doCheck = true;
2729

2830
meta = with lib; {

0 commit comments

Comments
 (0)