Do not pass -m64 to alpha, ia64 or riscv64 builds.
authorJordi Mallach <jordi@debian.org>
Thu, 22 Feb 2024 05:43:15 +0000 (05:43 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 22 Feb 2024 05:43:15 +0000 (05:43 +0000)
Forwarded: no
Last-Update: 2021-09-25

Gbp-Pq: Name ftbfs_alpha_ia64.patch

makefile

index 26e9f652e72189df16495ca7f7f27058dfbccb95..db8c2f2fb76a336d172e91c163d0e93cb7fcd9d7 100644 (file)
--- 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