diff options
author | chenglulu <chenglulu@loongson.cn> | 2021-11-27 15:09:11 +0800 |
---|---|---|
committer | Chenghua Xu <paul.hua.gm@gmail.com> | 2022-03-29 17:43:32 +0800 |
commit | c6c0594ef8382754f9cd8869a0cfb2aa2dcc0f43 (patch) | |
tree | e217d10ff32208722e57b0edd895fe19082b84a3 /configure | |
parent | 2788d42bdc66988449d40bf638f203a7cffc6cd9 (diff) |
LoongArch Port: Regenerate configure
2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
Lulu Cheng <chenglulu@loongson.cn>
ChangeLog:
* configure.ac: Add LoongArch tuples.
* configure: Regenerate.
config/ChangeLog:
* picflag.m4: Default add build option '-fpic' for LoongArch.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure index 69d8fc046c3..5dcaab14ae9 100755 --- a/configure +++ b/configure @@ -3056,7 +3056,7 @@ case "${ENABLE_GOLD}" in # Check for target supported by gold. case "${target}" in i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \ - | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*) + | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-* | loongarch*-*-*) configdirs="$configdirs gold" if test x${ENABLE_GOLD} = xdefault; then default_ld=gold @@ -3642,6 +3642,9 @@ case "${target}" in i[3456789]86-*-*) libgloss_dir=i386 ;; + loongarch*-*-*) + libgloss_dir=loongarch + ;; m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*) libgloss_dir=m68hc11 ;; @@ -4026,6 +4029,11 @@ case "${target}" in wasm32-*-*) noconfigdirs="$noconfigdirs ld" ;; + loongarch*-*-linux*) + ;; + loongarch*-*-*) + noconfigdirs="$noconfigdirs gprof" + ;; esac # If we aren't building newlib, then don't build libgloss, since libgloss |