From c2910b0af42e9ba3ef7b71341d44f46c4e1bfda2 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Thu, 5 Oct 2023 11:47:01 -0700 Subject: [PATCH] build.rs: Remove empty and useless `LD_FLAGS`. --- build.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build.rs b/build.rs index 8a44d1038..d43b81172 100644 --- a/build.rs +++ b/build.rs @@ -160,8 +160,6 @@ fn cpp_flags(compiler: &cc::Tool) -> &'static [&'static str] { } } -const LD_FLAGS: &[&str] = &[]; - // None means "any OS" or "any target". The first match in sequence order is // taken. const ASM_TARGETS: &[AsmTarget] = &[ @@ -504,9 +502,6 @@ fn build_library( let mut c = cc::Build::new(); - for f in LD_FLAGS { - let _ = c.flag(f); - } match target.os.as_str() { "macos" => { let _ = c.flag("-fPIC");