diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-15 16:14:57 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-15 16:14:57 +0000 |
commit | 59c3dc9003e30d97ade19e415a088a17fb1910d3 (patch) | |
tree | c3ee82bb58a005321f9ed9184003d6f889c9e73c /add-loongarch64-support-for-config.guess-and-config.sub.patch | |
parent | 2398782a1512e7b4032560abf06c28e6a5d61f41 (diff) |
automatic import of openEuler-rpm-configopeneuler23.03openeuler20.03
Diffstat (limited to 'add-loongarch64-support-for-config.guess-and-config.sub.patch')
-rw-r--r-- | add-loongarch64-support-for-config.guess-and-config.sub.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/add-loongarch64-support-for-config.guess-and-config.sub.patch b/add-loongarch64-support-for-config.guess-and-config.sub.patch new file mode 100644 index 0000000..acc2f83 --- /dev/null +++ b/add-loongarch64-support-for-config.guess-and-config.sub.patch @@ -0,0 +1,26 @@ +diff --git a/config.guess b/config.guess +index 463631a..2985f85 100644 +--- a/config.guess ++++ b/config.guess +@@ -975,6 +975,9 @@ EOF + k1om:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; ++ loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-${LIBC} ++ exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; +diff --git a/config.sub b/config.sub +index 39dbf60..39870d3 100644 +--- a/config.sub ++++ b/config.sub +@@ -268,6 +268,7 @@ case $basic_machine in + | k1om \ + | le32 | le64 \ + | lm32 \ ++ | loongarch32 | loongarch64 | loongarchx32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ |