Description: Match arm-unknown-linux to armv7-unknown-linux
Author: Ilias Tsitsimpis <iliastsi@debian.org>
Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/26734
Bug-Debian: https://bugs.debian.org/1124748
Forwarded: <URL|no|not-needed, useless if you have a Bug field, optional>

Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -277,7 +277,9 @@ FP_PROG_SH
 
 # Verify that the installed (bootstrap) GHC is capable of generating
 # code for the requested build platform.
-if test "$BuildPlatform" != "$bootstrap_target"
+if test "$BuildPlatform" != "$bootstrap_target" \
+    && (test "$BuildPlatform" != "arm-unknown-linux" \
+        || test "$bootstrap_target" != "armv7-unknown-linux")
 then
     echo "This GHC (${WithGhc}) does not generate code for the build platform"
     echo "   GHC target platform    : $bootstrap_target"
