summaryrefslogtreecommitdiff
path: root/app-shells/fzf/files/fzf-0.42.0-armv8l-bitness.patch
blob: c8ec579f3ed4befaea112b29ede28fa25c1fafbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
https://github.com/junegunn/fzf/pull/3434

From 884d896893cb031e4532bd32403ced2020972806 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sun, 10 Sep 2023 14:54:49 +0100
Subject: [PATCH] Makefile: build 32-bit binary on armv8l

armv8l is always 32-bit and should implement the armv7 ISA, so
just use the same filename as for armv7.

Signed-off-by: Sam James <sam@gentoo.org>
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,9 @@ else ifeq ($(UNAME_M),armv6l)
 else ifeq ($(UNAME_M),armv7l)
 	BINARY := $(BINARYARM7)
 else ifeq ($(UNAME_M),armv8l)
-	BINARY := $(BINARYARM8)
+	# armv8l is always 32-bit and should implement the armv7 ISA, so
+	# just use the same filename as for armv7.
+	BINARY := $(BINARYARM7)
 else ifeq ($(UNAME_M),arm64)
 	BINARY := $(BINARYARM8)
 else ifeq ($(UNAME_M),aarch64)