From f7580c6f4865980e4e044ad49816020520c3f811 Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Fri, 8 Nov 2024 09:29:52 +0100 Subject: [PATCH] Drop "gnu" in the target env for FreeBSD armv6/7 FreeBSD is not a GNU system --- compiler/rustc_target/src/spec/targets/armv6_unknown_freebsd.rs | 1 - compiler/rustc_target/src/spec/targets/armv7_unknown_freebsd.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/compiler/rustc_target/src/spec/targets/armv6_unknown_freebsd.rs b/compiler/rustc_target/src/spec/targets/armv6_unknown_freebsd.rs index ee69f9894ae..75447479e1c 100644 --- a/compiler/rustc_target/src/spec/targets/armv6_unknown_freebsd.rs +++ b/compiler/rustc_target/src/spec/targets/armv6_unknown_freebsd.rs @@ -14,7 +14,6 @@ pub(crate) fn target() -> Target { arch: "arm".into(), options: TargetOptions { abi: "eabihf".into(), - env: "gnu".into(), features: "+v6,+vfp2,-d32".into(), max_atomic_width: Some(64), mcount: "\u{1}__gnu_mcount_nc".into(), diff --git a/compiler/rustc_target/src/spec/targets/armv7_unknown_freebsd.rs b/compiler/rustc_target/src/spec/targets/armv7_unknown_freebsd.rs index ed5fc8bcb64..11399b777a5 100644 --- a/compiler/rustc_target/src/spec/targets/armv7_unknown_freebsd.rs +++ b/compiler/rustc_target/src/spec/targets/armv7_unknown_freebsd.rs @@ -14,7 +14,6 @@ pub(crate) fn target() -> Target { arch: "arm".into(), options: TargetOptions { abi: "eabihf".into(), - env: "gnu".into(), features: "+v7,+vfp3,-d32,+thumb2,-neon".into(), max_atomic_width: Some(64), mcount: "\u{1}__gnu_mcount_nc".into(),