67a1e8a552
Patch 0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch is refreshed to accommodate with conflicting upstream changes. Patch 0002-Revert-efilink-fix-build-with-gcc-4.8.patch is dropped as it is upstream as of commit 8b2da2c2247af28bd681a9c8e3231559964c80a6 ("Revert "efilink: fix build with gcc 4.8""). A new patch is needed to fix the build on mips64. While at it, fix the hash file to use the new spacing convention. Fixes: http://autobuild.buildroot.net/results/a9a7372615e3fbe4b8abda946706d1ccadf28931/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From b2dbeec5063265eb0121342c24a900a4888712a7 Mon Sep 17 00:00:00 2001
|
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Date: Sun, 20 Jan 2019 21:07:11 +0100
|
|
Subject: [PATCH] Make.defaults: don't override ARCH when cross-compiling
|
|
|
|
Don't override the user-provided ARCH when cross-compiling otherwise
|
|
ARCH won't be correct for armv5, aarch64 and x86_64
|
|
|
|
Fixes:
|
|
- http://autobuild.buildroot.org/results/2dfc0e10da25a8382a43557420d7dc3444c02dbb
|
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
---
|
|
Make.defaults | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Make.defaults b/Make.defaults
|
|
index 47ed361..7420344 100755
|
|
--- a/Make.defaults
|
|
+++ b/Make.defaults
|
|
@@ -67,7 +67,7 @@ ARCH ?= $(shell $(HOSTCC) -dumpmachine | cut -f1 -d- | sed -e s,i[345678
|
|
|
|
# Get ARCH from the compiler if cross compiling
|
|
ifneq ($(CROSS_COMPILE),)
|
|
- override ARCH := $(shell $(CC) -dumpmachine | cut -f1 -d-| sed -e s,i[3456789]86,ia32, -e 's,armv[67].*,arm,' )
|
|
+ ARCH := $(shell $(CC) -dumpmachine | cut -f1 -d-| sed -e s,i[3456789]86,ia32, -e 's,armv[67].*,arm,' )
|
|
endif
|
|
|
|
# FreeBSD (and possibly others) reports amd64 instead of x86_64
|
|
--
|
|
2.36.1
|
|
|