diff options
author | Xiaotian Wu <wuxiaotian@loongson.cn> | 2024-02-26 16:43:35 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-27 11:35:43 +0000 |
commit | 031099c417a61d6e7db2cf7bf02f69650179b7e8 (patch) | |
tree | 55e110a87143b1ff3d3ae2104d07d3a81d88fcee /meta | |
parent | 6b356b74d83dbb088e4128cf933b8713b63898ce (diff) | |
download | poky-031099c417a61d6e7db2cf7bf02f69650179b7e8.tar.gz |
loongarch64: change -march to loongarch64
Now both gcc and clang all support -march=loongarch64, so we can use it.
(From OE-Core rev: acc08582293709c73011083aa7d5c631a9ae8c8c)
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/machine/include/loongarch/arch-loongarch.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
4 | 4 | ||
5 | TUNE_ARCH = "${TUNE_ARCH:tune-${DEFAULTTUNE}}" | 5 | TUNE_ARCH = "${TUNE_ARCH:tune-${DEFAULTTUNE}}" |
6 | TUNE_PKGARCH = "${TUNE_PKGARCH:tune-${DEFAULTTUNE}}" | 6 | TUNE_PKGARCH = "${TUNE_PKGARCH:tune-${DEFAULTTUNE}}" |
7 | TUNE_CCARGS:append = "${@bb.utils.contains('TUNE_FEATURES', 'loongarch64', ' -march=la464 -mabi=lp64d', ' ', d)}" | 7 | TUNE_CCARGS:append = "${@bb.utils.contains('TUNE_FEATURES', 'loongarch64', ' -march=loongarch64 -mabi=lp64d', ' ', d)}" |