Further raspbian hacks to rust target selection.
authorPeter Michael Green <plugwash@raspbian.org>
Sat, 5 Feb 2022 14:30:32 +0000 (14:30 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 20 Oct 2022 16:38:40 +0000 (17:38 +0100)
Gbp-Pq: Name further-raspbian-hacks-to-rust-target-se.patch

build/moz.configure/rust.configure

index 93c3cf9873d9c83db9d8279e54811fee4b8316d8..f38c732134facc4d175eb3be356118d7d5acf0b2 100644 (file)
@@ -406,6 +406,9 @@ def detect_rustc_target(
     if rustc_target is None:
         die("Don't know how to translate {} for rustc".format(host_or_target.alias))
 
+    #raspbian hack
+    if rustc_target == "armv7-unknown-linux-gnueabihf":
+        rustc_target = "arm-unknown-linux-gnueabihf"
     return rustc_target