diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-21 21:55:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-21 21:55:34 +0000 |
commit | 1701a9d8f0ca4153bbf3cf75487c6a14606e5121 (patch) | |
tree | 7a9a252656a6c44d62299c3feec2c5c9bb7377db /libgo/configure | |
parent | 95eebd21db8b4b389a7fa4075ffc64df086b61ed (diff) | |
download | gcc-1701a9d8f0ca4153bbf3cf75487c6a14606e5121.zip gcc-1701a9d8f0ca4153bbf3cf75487c6a14606e5121.tar.gz gcc-1701a9d8f0ca4153bbf3cf75487c6a14606e5121.tar.bz2 |
libgo: use gc's arch names as the default GOARCHs on MIPS
This means that the gc tools and gofrontend agree on the architecture names
for the 3 MIPS ABIs which should allow a gofrontend compiler to build go.
Reviewed-on: https://go-review.googlesource.com/46153
From-SVN: r249476
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libgo/configure b/libgo/configure index 0700b7b..f120ed4 100755 --- a/libgo/configure +++ b/libgo/configure @@ -13769,9 +13769,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext case "$mips_abi" in - "o32") GOARCH=mipso32 ;; - "n32") GOARCH=mipsn32 ;; - "n64") GOARCH=mipsn64 ;; + "o32") GOARCH=mips ;; + "n32") GOARCH=mips64p32 ;; + "n64") GOARCH=mips64 ;; "o64") GOARCH=mipso64 ;; esac case "$mips_abi" in @@ -13785,7 +13785,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac case "${host}" in - mips*el) + mips*el-*-*) + GOARCH="${GOARCH}le" ;; *) GOARCH_BIGENDIAN=1 |