Commit 7444c59c authored by Adam Joseph's avatar Adam Joseph
Browse files

newlib: evade more of newlib's self-disablement

In https://github.com/NixOS/nixpkgs/pull/266364/files I neglected to
evade one of newlib's other (annoying) self-disablement checks: when
host==target newlib decides it's not in the mood to build itself for
some reason.

Since we have an entire package for newlib (it's no longer part of
gcc) these checks are silly.  So I have evadede the second check as well.

Closes #267859
parent f67b20ca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
  # logic was not fixed.  So we must disable it.
  ''
    substituteInPlace configure --replace 'noconfigdirs target-newlib target-libgloss' 'noconfigdirs'
    substituteInPlace configure --replace 'cross_only="target-libgloss target-newlib' 'cross_only="'
  '';