mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
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
This commit is contained in:
parent
f67b20cad6
commit
7444c59c52
@ -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="'
|
||||
'';
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user