libfyaml: patch for libm "none required" issues

This commit is contained in:
𝑷𝒉𝒊𝒍𝒐𝒄𝒂𝒍𝒚𝒔𝒕
2026-05-12 10:03:46 -04:00
parent 1860b778a5
commit 59edd93aa9
+10
View File
@@ -38,6 +38,16 @@ stdenv.mkDerivation (finalAttrs: {
# don't force -lpthread when PTHREAD_CFLAGS already provides pthread support.
# Pending PR: https://github.com/pantoniou/libfyaml/pull/294
./pthread-darwin.patch
# backport "build: don't output 'none required' to LIBM if no linker flags needed for it"
(fetchpatch {
url = "https://github.com/pantoniou/libfyaml/commit/24b18e7363b336962fe160c1dc05ca57ba95783c.diff";
hash = "sha256-g5QKI4HuS8MEQ9ddIQNC0j+28Dh9zLAp5RaZX5SWBHk=";
})
(fetchpatch {
url = "https://github.com/pantoniou/libfyaml/commit/9f2492ca27bb1fda64f2b12edc2da17406208b93.diff";
hash = "sha256-E4wS+P7R3VGrBpD7swWMMi/QPTF+9rzAeEyxhbmdiwk=";
})
];
nativeBuildInputs = [