diff --git a/pkgs/development/libraries/glibc-2.12/common.nix b/pkgs/development/libraries/glibc-2.12/common.nix index f29fb8a0b042..9ad0358e5ccf 100644 --- a/pkgs/development/libraries/glibc-2.12/common.nix +++ b/pkgs/development/libraries/glibc-2.12/common.nix @@ -115,6 +115,10 @@ stdenv.mkDerivation ({ "--host=arm-linux-gnueabi" "--build=arm-linux-gnueabi" "--without-fp" + + # To avoid linking with -lgcc_s (dynamic link) + # so the glibc does not depend on its compiler store path + "libc_cv_as_needed=no" ]; buildInputs = stdenv.lib.optionals (cross != null) [ gccCross ]