audiofile: fix build with clang 16
This commit is contained in:
parent
c6ce286002
commit
4f2bb1ccb3
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
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,
|
# 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
|
# 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
|
# compiler do what it does best. (libaudiofile.la is a generated file, so we
|
||||||
|
|
Loading…
Reference in a new issue