From: Jordi Mallach Date: Fri, 30 Dec 2022 17:08:54 +0000 (+0100) Subject: Do not pass -m64 to alpha, ia64 or riscv64 builds. X-Git-Tag: archive/raspbian/0.266+dfsg.1-1+rpi1~1^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c9dab52c3c11504462219c6378c6d44ea2c2b5ba;p=mame.git Do not pass -m64 to alpha, ia64 or riscv64 builds. Forwarded: no Last-Update: 2021-09-25 Gbp-Pq: Name ftbfs_alpha_ia64.patch --- diff --git a/makefile b/makefile index 4644bf425..96d44958d 100644 --- a/makefile +++ b/makefile @@ -160,6 +160,12 @@ endif ifneq ($(filter alpha,$(UNAME_P)),) PLATFORM := alpha endif +ifneq ($(filter ia64,$(UNAME_M)),) +PLATFORM := ia64 +endif +ifneq ($(filter ia64,$(UNAME_P)),) +PLATFORM := ia64 +endif ifneq ($(filter arm%,$(UNAME_M)),) PLATFORM := arm endif @@ -407,6 +413,20 @@ ifndef FORCE_DRC_C_BACKEND endif endif +ifeq ($(findstring alpha,$(UNAME)),alpha) +ARCHITECTURE := +ifndef FORCE_DRC_C_BACKEND + FORCE_DRC_C_BACKEND := 1 +endif +endif + +ifeq ($(findstring ia64,$(UNAME)),ia64) +ARCHITECTURE := +ifndef FORCE_DRC_C_BACKEND + FORCE_DRC_C_BACKEND := 1 +endif +endif + ifeq ($(findstring riscv64,$(UNAME)),riscv64) ARCHITECTURE := ifndef FORCE_DRC_C_BACKEND