32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 0e09546330c7500b0d6d4e6d4bbf4fe751d57c34 Mon Sep 17 00:00:00 2001
|
|
From: Jingyun Hua <huajingyun@loongson.cn>
|
|
Date: Mon, 7 Aug 2023 15:25:58 +0800
|
|
Subject: [PATCH] loongarch disable multilib support
|
|
|
|
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
|
|
---
|
|
gcc/config/loongarch/t-linux | 11 +++--------
|
|
1 file changed, 3 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
|
|
index 45862048abf..73155acd832 100644
|
|
--- a/gcc/config/loongarch/t-linux
|
|
+++ b/gcc/config/loongarch/t-linux
|
|
@@ -21,11 +21,6 @@ MULTIOSDIR_lp64f := ../lib64/f32$(call if_multiarch,:loongarch64-linux-gnuf32)
|
|
MULTIOSDIR_lp64s := ../lib64/sf$(call if_multiarch,:loongarch64-linux-gnusf)
|
|
|
|
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
|
|
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
|
|
-
|
|
- MULTILIB_OSDIRNAMES = .=$(MULTIOSDIR_$(mlib_default))
|
|
- MULTILIB_OSDIRNAMES += mabi.lp64d=$(MULTIOSDIR_lp64d)
|
|
- MULTILIB_OSDIRNAMES += mabi.lp64f=$(MULTIOSDIR_lp64f)
|
|
- MULTILIB_OSDIRNAMES += mabi.lp64s=$(MULTIOSDIR_lp64s)
|
|
-
|
|
-endif
|
|
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
|
|
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
|
|
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
|
|
--
|
|
2.50.1
|
|
|