libgo: only build syscall test with -static if it works
authorIan Lance Taylor <iant@golang.org>
Fri, 15 May 2020 17:50:57 +0000 (10:50 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 15 May 2020 22:33:20 +0000 (15:33 -0700)
commite478cacb62f116d2c8efdabc4b51e6d2d7041aae
tree842f0f76d7668a745c1842e07f39b3cd56356a37
parent29f0e90d9904d8e0965443d4da4c95ddde5edb1e
libgo: only build syscall test with -static if it works

Test whether -static works, and use it if possible.

This time for sure.

For PR go/95061

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/234024
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/configure
libgo/configure.ac