Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Kernel:kdump
crash-trace
crash-trace-fix-aarch64-ppc64le.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crash-trace-fix-aarch64-ppc64le.patch of Package crash-trace
From: Petr Tesarik <ptesarik@suse.com> Subject: Fix build for ppc64le and arm64 Upstream: submitted, https://github.com/fujitsu/crash-trace/pull/3 Build fails for AArch64 and little-endian IBM POWER, because TARGET is undefined, and the compiler complains like this: gcc: error: macro name missing after '-D' Signed-off-by: Petr Tesarik <ptesarik@suse.com> --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/Makefile +++ b/Makefile @@ -6,6 +6,10 @@ ifeq ($(shell arch), ppc64) TARGET=PPC64 TARGET_CFLAGS=-m64 endif +ifeq ($(shell arch), ppc64le) + TARGET=PPC64 + TARGET_CFLAGS=-m64 +endif ifeq ($(shell arch), ia64) TARGET=IA64 TARGET_CFLAGS= @@ -22,6 +26,10 @@ ifeq ($(shell arch), s390) TARGET=S390 TARGET_CFLAGS= endif +ifeq ($(shell arch), aarch64) + TARGET=ARM64 + TARGET_CFLAGS= +endif INCDIR=/usr/include/crash
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor