Merge pull request #259300 from viraptor/audiofile-clang

audiofile: fix build with clang 16
This commit is contained in:
toonn
2023-10-14 16:43:48 +02:00
committed by GitHub
@@ -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