mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
audiofile: remove -lgcc on i686-linux
This commit is contained in:
parent
ab2aea3514
commit
1308722730
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user