gcc-14/0021-LoongArch-Change-OSDIR-for-distribution.patch

26 lines
791 B
Diff
Raw Normal View History

From 25423cf92026221b7c8798533c40d3e6269a1d7c Mon Sep 17 00:00:00 2001
From: Peng Fan <fanpeng@loongson.cn>
Date: Thu, 31 Oct 2024 02:01:49 +0000
Subject: [PATCH] LoongArch: Change OSDIR for distribution
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
---
gcc/config/loongarch/t-linux | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index 7cd7cde25..1d1f42596 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -28,4 +28,7 @@ ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
MULTILIB_OSDIRNAMES += mabi.lp64f=$(MULTIOSDIR_lp64f)
MULTILIB_OSDIRNAMES += mabi.lp64s=$(MULTIOSDIR_lp64s)
+else
+ MULTILIB_OSDIRNAMES := ../lib64
+ MULTILIB_OPTIONS = mabi=lp64d
endif
--
2.45.2