HACK: Disable kernel_user_helpers on armel
authorAdrian Bunk <bunk@debian.org>
Mon, 10 Oct 2022 18:19:05 +0000 (19:19 +0100)
committerFabian Gruenbichler <debian@fabian.gruenbichler.email>
Mon, 10 Oct 2022 18:19:05 +0000 (19:19 +0100)
Workaround to fix the build, should be removed when properly fixed in
https://github.com/rust-lang/compiler-builtins/issues/420

Gbp-Pq: Name u-hack-armel-no-kernel-user-helpers.patch

vendor/compiler_builtins/src/lib.rs

index c3eefbc036228ec78fd89b78e0be16df57086edb..167cc09e2a185dfa85a2f823b7cd1b61ccba4f02 100644 (file)
@@ -54,7 +54,7 @@ pub mod arm;
 
 #[cfg(all(
     kernel_user_helpers,
-    any(target_os = "linux", target_os = "android"),
+    any(target_os = "android"),
     target_arch = "arm"
 ))]
 pub mod arm_linux;