newlib: Fix i386 libgloss support (#474725)

This commit is contained in:
Sandro
2026-02-04 21:43:12 +00:00
committed by GitHub
+5
View File
@@ -26,6 +26,11 @@ stdenvNoLibc.mkDerivation (finalAttrs: {
url = "https://sourceware.org/git/?p=newlib-cygwin.git;a=patch;h=8a8fb570d7c5310a03a34b3dd6f9f8bb35ee9f40";
hash = "sha256-hWS/X0jf/ZFXIR39NvNDVhkR8F81k9UWpsqDhZFxO5o=";
})
(fetchpatch {
name = "0002-newlib-Fix-i386-libgloss-support.patch";
url = "https://sourceware.org/git/?p=newlib-cygwin.git;a=patch;h=351842d55ee50fab672818b72f2c6bf3be1772bd;hp=4a1144dc540423b422dbec27eb433bc7dc725ae8";
hash = "sha256-GMx9nQKJEnXbA5HFczp3xjrrU94j1oXq4lIjEf0um9Y=";
})
]
++ lib.optionals nanoizeNewlib [
# https://bugs.gentoo.org/723756