diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-05-02 22:28:46 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-05-02 22:28:46 +0000 |
commit | 746d6ed4ad8118e79eefa8f0d95c0ae5a9c4b9c0 (patch) | |
tree | f758bdf5feaa7053b02002423457107591a69b03 /libgo/configure | |
parent | e1aeb9bc9e8704c99a6fb8a83983e42ea8967637 (diff) | |
download | gcc-746d6ed4ad8118e79eefa8f0d95c0ae5a9c4b9c0.zip gcc-746d6ed4ad8118e79eefa8f0d95c0ae5a9c4b9c0.tar.gz gcc-746d6ed4ad8118e79eefa8f0d95c0ae5a9c4b9c0.tar.bz2 |
libgo: add support for the Nios II architecture
Reviewed-on: https://go-review.googlesource.com/90775
From-SVN: r259866
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libgo/configure b/libgo/configure index c5f8e8a..11e04aa 100755 --- a/libgo/configure +++ b/libgo/configure @@ -13653,10 +13653,10 @@ esac # - libgo/go/syscall/endian_XX.go # - possibly others # - possibly update files in libgo/go/internal/syscall/unix -ALLGOARCH="386 alpha amd64 amd64p32 arm armbe arm64 arm64be ia64 m68k mips mipsle mips64 mips64le mips64p32 mips64p32le ppc ppc64 ppc64le riscv64 s390 s390x sh shbe sparc sparc64" +ALLGOARCH="386 alpha amd64 amd64p32 arm armbe arm64 arm64be ia64 m68k mips mipsle mips64 mips64le mips64p32 mips64p32le nios2 ppc ppc64 ppc64le riscv64 s390 s390x sh shbe sparc sparc64" # All known GOARCH family values. -ALLGOARCHFAMILY="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 PPC PPC64 RISCV64 S390 S390X SH SPARC SPARC64" +ALLGOARCHFAMILY="I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 NIOS2 PPC PPC64 RISCV64 S390 S390X SH SPARC SPARC64" GOARCH=unknown case ${host} in @@ -13745,6 +13745,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac ;; + nios2-*-*) + GOARCH=nios2 + ;; rs6000*-*-* | powerpc*-*-*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ |