File: 0008-fix-building-on-arm64.patch

package info (click to toggle)
vboot-utils 0~R88-13597.B-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 67,704 kB
  • sloc: ansic: 56,175; sh: 8,738; makefile: 987; pascal: 81
file content (26 lines) | stat: -rw-r--r-- 644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Sophie Brun <sophie@freexian.com>
Date: Mon, 10 Feb 2020 16:21:52 +0100
Subject: Try to fix building on arm64

Origin: https://bugs.kali.org/view.php?id=3172
Last-Update: 2016-05-20

Last-Update: 2016-05-20
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 9e64fd7..fa0d512 100644
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,9 @@ _machname := $(shell uname -m)
 ifneq (,$(findstring arm,${_machname}))
 	override _machname := arm
 endif
+ifneq (,$(findstring aarch64,${_machname}))
+	override _machname := arm
+endif
 ifneq (,$(findstring i686,${_machname}))
 	override _machname := x86
 endif