Source: debhelper
Version: 12.1.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:aom

aom fails to cross build from source for mips64el, because it does not
recognize the passed CMAKE_SYSTEM_PROCESSOR value. It turns out that on
mips64el, the CMAKE_SYSTEM_PROCESSOR should be "mips64" rather than
"mips64el". The attached patch extends the relevant mapping.

Helmut
diff --minimal -Nru debhelper-12.1.1/debian/changelog 
debhelper-12.1.1+nmu1/debian/changelog
--- debhelper-12.1.1/debian/changelog   2019-02-23 14:24:47.000000000 +0100
+++ debhelper-12.1.1+nmu1/debian/changelog      2019-04-10 14:33:59.000000000 
+0200
@@ -1,3 +1,11 @@
+debhelper (12.1.1+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Buildsystem/cmake: Fix CMAKE_SYSTEM_PROCESSOR for mips64el.
+    (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 10 Apr 2019 14:33:59 +0200
+
 debhelper (12.1.1) unstable; urgency=medium
 
   * dh_installinitramfs: Install hooks as executable rather than
diff --minimal -Nru debhelper-12.1.1/lib/Debian/Debhelper/Buildsystem/cmake.pm 
debhelper-12.1.1+nmu1/lib/Debian/Debhelper/Buildsystem/cmake.pm
--- debhelper-12.1.1/lib/Debian/Debhelper/Buildsystem/cmake.pm  2018-12-18 
20:49:57.000000000 +0100
+++ debhelper-12.1.1+nmu1/lib/Debian/Debhelper/Buildsystem/cmake.pm     
2019-04-10 14:33:56.000000000 +0200
@@ -27,6 +27,7 @@
 );
 
 my %GNU_CPU2SYSTEM_PROCESSOR = (
+       'mips64el'    => 'mips64',
        'powerpc64le' => 'ppc64le',
 );
 

Reply via email to