Skip to content

Commit

Permalink
audiofile: fix build with clang 16
Browse files Browse the repository at this point in the history
  • Loading branch information
viraptor committed Oct 6, 2023
1 parent c6ce286 commit 4f2bb1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/audiofile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ stdenv.mkDerivation rec {

outputs = [ "out" "dev" "man" ];

# std::unary_function has been removed in c++17
makeFlags = [ "CXXFLAGS=-std=c++11" ];

# Even when statically linking, libstdc++.la is put in dependency_libs here,
# and hence libstdc++.so passed to the linker, just pass -lstdc++ and let the
# compiler do what it does best. (libaudiofile.la is a generated file, so we
Expand Down

0 comments on commit 4f2bb1c

Please sign in to comment.