From 7ffcba86d3e388ee02c6f86604faf4a8f8d6de52 Mon Sep 17 00:00:00 2001 From: Jordi Mallach Date: Wed, 27 Jan 2021 19:26:13 +0100 Subject: [PATCH] Do not pass -m64 to alpha or ia64 builds. Forwarded: no Gbp-Pq: Name ftbfs_alpha_ia64.patch --- makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.30.2