Now both gcc and clang all support -march=loongarch64, so we can use it.

Signed-off-by: Xiaotian Wu <wuxiaot...@loongson.cn>
---
 meta/conf/machine/include/loongarch/arch-loongarch.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/machine/include/loongarch/arch-loongarch.inc 
b/meta/conf/machine/include/loongarch/arch-loongarch.inc
index 4b44614035..d0a51b34c7 100644
--- a/meta/conf/machine/include/loongarch/arch-loongarch.inc
+++ b/meta/conf/machine/include/loongarch/arch-loongarch.inc
@@ -4,4 +4,4 @@ DEFAULTTUNE ?= "loongarch64"
 
 TUNE_ARCH = "${TUNE_ARCH:tune-${DEFAULTTUNE}}"
 TUNE_PKGARCH = "${TUNE_PKGARCH:tune-${DEFAULTTUNE}}"
-TUNE_CCARGS:append = "${@bb.utils.contains('TUNE_FEATURES', 'loongarch64', ' 
-march=la464 -mabi=lp64d', ' ', d)}"
+TUNE_CCARGS:append = "${@bb.utils.contains('TUNE_FEATURES', 'loongarch64', ' 
-march=loongarch64 -mabi=lp64d', ' ', d)}"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#196190): 
https://lists.openembedded.org/g/openembedded-core/message/196190
Mute This Topic: https://lists.openembedded.org/mt/104578807/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to