From a160034f20dfe82109931168de155950d8cb55f9 Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Sun, 20 Oct 2024 17:45:28 -0700 Subject: [PATCH] cleanup: remove glibc rustlib patch --- packages/cross-x86_64-gnu-rust/Containerfile | 6 +----- packages/cross-x86_64-gnu-rust/glibc.patch | 19 ------------------- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 packages/cross-x86_64-gnu-rust/glibc.patch diff --git a/packages/cross-x86_64-gnu-rust/Containerfile b/packages/cross-x86_64-gnu-rust/Containerfile index 390136d..790961c 100644 --- a/packages/cross-x86_64-gnu-rust/Containerfile +++ b/packages/cross-x86_64-gnu-rust/Containerfile @@ -33,7 +33,6 @@ ADD *.patch . RUN <, target: TargetSelection, stage: u32, car - - // Help the libc crate compile by assisting it in finding various - // sysroot native libraries. -- if target.contains("musl") { -+ //if target.contains("musl") { - if let Some(p) = builder.musl_libdir(target) { - let root = format!("native={}", p.to_str().unwrap()); - cargo.rustflag("-L").rustflag(&root); - } -- } -+ //} - - if target.contains("-wasi") { - if let Some(p) = builder.wasi_root(target) {