Commit 38f41a27 authored by Adam Joseph's avatar Adam Joseph
Browse files

stdenvBootstrapTools: drop no-longer-needed, now-broken cross clause

The comment stating that "GCC has certain things built in
statically" is no longer true as of
https://github.com/NixOS/nixpkgs/pull/209870.  Moreover, as pointed
out in https://github.com/NixOS/nixpkgs/pull/228130 this
optionalString block no longer builds for
pkgsCross.*.freshBootstrapTools.

It is safe to drop this clause now.
parent 884ac294
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -158,12 +158,6 @@ in with pkgs; rec {
        cp -d ${libmpc.out}/lib/libmpc*.so* $out/lib
        cp -d ${zlib.out}/lib/libz.so* $out/lib

      '' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
        # These needed for cross but not native tools because the stdenv
        # GCC has certain things built in statically. See
        # pkgs/stdenv/linux/default.nix for the details.
        cp -d ${isl_0_20.out}/lib/libisl*.so* $out/lib

      '' + lib.optionalString (stdenv.hostPlatform.isRiscV) ''
        # libatomic is required on RiscV platform for C/C++ atomics and pthread
        # even though they may be translated into native instructions.