From 7444c59c5289134a628eab97c52a2e5fdb6b0020 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Thu, 16 Nov 2023 20:39:55 -0800 Subject: 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 --- pkgs/development/misc/newlib/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/misc/newlib/default.nix b/pkgs/development/misc/newlib/default.nix index 8aed144ff65..56c644af140 100644 --- a/pkgs/development/misc/newlib/default.nix +++ b/pkgs/development/misc/newlib/default.nix @@ -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="' ''; -- cgit 1.4.1