From 961753e762eb4ab8c778d981f4da0dfc421009e3 Mon Sep 17 00:00:00 2001 From: Jordi Mallach Date: Wed, 20 Dec 2023 18:34:35 +0100 Subject: [PATCH] Do not pass -m64 to alpha, ia64 or riscv64 builds. Forwarded: no Last-Update: 2021-09-25 Gbp-Pq: Name ftbfs_alpha_ia64.patch --- makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/makefile b/makefile index 26e9f652e..db8c2f2fb 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 -- 2.30.2