HACK: Disable kernel_user_helpers on armel
authorAdrian Bunk <bunk@debian.org>
Wed, 7 Dec 2022 16:29:00 +0000 (16:29 +0000)
committerFabian Gruenbichler <debian@fabian.gruenbichler.email>
Wed, 7 Dec 2022 16:29:00 +0000 (16:29 +0000)
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 009923d27e5b46e19f17c86772c4c28e9fd8c563..6dcf8aec1feec8876180bdabc04deb8926c3098e 100644 (file)
@@ -55,7 +55,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;