2022-08-13 15:17:36 +00:00
|
|
|
From bf63353ea679e0bbf2c2f17bb64c75ebd590c6e7 Mon Sep 17 00:00:00 2001
|
2022-01-06 15:11:38 +00:00
|
|
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
|
|
|
Date: Thu, 6 Jan 2022 03:14:54 +0000
|
|
|
|
Subject: [PATCH] x86_64: disable multilib support
|
|
|
|
|
|
|
|
multilib is not presently supported on Alpine GCC
|
|
|
|
---
|
|
|
|
gcc/config/i386/t-linux64 | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/gcc/config/i386/t-linux64 b/gcc/config/i386/t-linux64
|
2022-08-13 15:17:36 +00:00
|
|
|
index 5526ad0e6cc..78866afab36 100644
|
2022-01-06 15:11:38 +00:00
|
|
|
--- a/gcc/config/i386/t-linux64
|
|
|
|
+++ b/gcc/config/i386/t-linux64
|
|
|
|
@@ -33,6 +33,6 @@
|
|
|
|
comma=,
|
|
|
|
MULTILIB_OPTIONS = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
|
|
|
|
MULTILIB_DIRNAMES = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS)))
|
|
|
|
-MULTILIB_OSDIRNAMES = m64=../lib64$(call if_multiarch,:x86_64-linux-gnu)
|
|
|
|
-MULTILIB_OSDIRNAMES+= m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:i386-linux-gnu)
|
|
|
|
+MULTILIB_OSDIRNAMES = m64=../lib
|
|
|
|
+MULTILIB_OSDIRNAMES+= m32=../lib32
|
|
|
|
MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32)
|