14
0
forked from pool/crash-trace
Files
crash-trace/crash-trace-fix-riscv64.patch
Petr Tesarik 46ed76b5d4 Update patch headers
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
2025-05-29 10:57:11 +02:00

22 lines
435 B
Diff

From: Petr Tesarik <ptesarik@suse.com>
Subject: Fix build for 32-bit arm
Upstream: submitted, https://github.com/fujitsu/crash-trace/pull/5
---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,10 @@ ifeq ($(patsubst arm%,arm,$(shell arch))
TARGET=ARM
TARGET_CFLAGS=
endif
+ifeq ($(shell arch), riscv64)
+ TARGET=RISCV64
+ TARGET_CFLAGS=
+endif
INCDIR=/usr/include/crash