From 5a23d1e93fd1201c354ebe04e6f4f70bc3d3cbb2 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Tue, 1 Dec 2020 09:55:46 +0100 Subject: [PATCH] treat-i386-as-x86 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974863 When building for i386 and running an amd64 kernel, the Makefile uses "uname -m" to determine the architecture, but this introduces variations depending on the kernel used to perform the build. Gbp-Pq: Name treat-i386-as-x86.patch --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index c75c10f..8930eb0 100644 --- a/Makefile +++ b/Makefile @@ -95,6 +95,9 @@ endif ifneq (,$(findstring i686,${_machname})) override _machname := x86 endif +ifneq (,$(findstring i386,${_machname})) + override _machname := x86 +endif HOST_ARCH ?= ${_machname} # ARCH and/or FIRMWARE_ARCH are defined by the Chromium OS ebuild. -- 2.30.2