From ff06e9473feebef62c58f0f1712ce1bdb3b1d072cf14dca7f7c597853d93ef6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Tesa=C5=99=C3=ADk?= Date: Mon, 24 Apr 2023 09:20:25 +0000 Subject: [PATCH] o Build on RISC-V64 and 32-bit Arm and IBM POWER. OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/eppic?expand=0&rev=31 --- eppic.changes | 2 +- eppic.spec | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/eppic.changes b/eppic.changes index 628e2f2..a9b108b 100644 --- a/eppic.changes +++ b/eppic.changes @@ -2,7 +2,7 @@ Mon Apr 24 08:26:22 UTC 2023 - Petr Tesařík - Update to c294e5bf89cab01f3c5316474cfc5104af7e6a60 - o Build on 32-bit Arm and RISC-V. + o Build on RISC-V64 and 32-bit Arm and IBM POWER. - Drop upstreamed patches: o eppic-Fix-eppic_getnxtfct.patch o eppic-crash-INCDIR.patch diff --git a/eppic.spec b/eppic.spec index 9d79c30..34a9b7b 100644 --- a/eppic.spec +++ b/eppic.spec @@ -98,12 +98,16 @@ case `uname -m` in TARGET=PPC64 TARGET_CFLAGS=-m64 ;; - s390x) - TARGET=S390X + riscv64) + TARGET=RISCV64 TARGET_CFLAGS= ;; s390) TARGET=S390 + TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64 + ;; + s390x) + TARGET=S390X TARGET_CFLAGS= ;; x86_64)