audiofile: remove -lgcc on i686-linux

This commit is contained in:
Weijia Wang 2023-05-17 00:37:41 +03:00
parent ab2aea3514
commit 1308722730

View file

@ -28,9 +28,6 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "man" ];
# fix build with gcc9
NIX_CFLAGS_LINK = lib.optional (stdenv.system == "i686-linux") "-lgcc";
# 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