From: Jordi Mallach Date: Wed, 27 Jan 2021 18:26:13 +0000 (+0100) Subject: Do not pass -m64 to alpha or ia64 builds. X-Git-Tag: archive/raspbian/0.266+dfsg.1-1+rpi1~1^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7ffcba86d3e388ee02c6f86604faf4a8f8d6de52;p=mame.git Do not pass -m64 to alpha or ia64 builds. Forwarded: no Gbp-Pq: Name ftbfs_alpha_ia64.patch --- diff --git a/makefile b/makefile index e180285ae..537d9eb74 100644 --- a/makefile +++ b/makefile @@ -157,6 +157,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 @@ -301,6 +307,12 @@ TARGETOS := $(OS) # should be passed to gcc when building genie #------------------------------------------------- +ifeq ($(PLATFORM),alpha) +MPARAM := +else +ifeq ($(PLATFORM),ia64) +MPARAM := +else ifeq ($(ARCHITECTURE),_x86) MPARAM := -m32 else @@ -310,6 +322,8 @@ else MPARAM := endif endif +endif +endif ARCHITECTURE := _x86