libgo: build syscall test with -static
authorIan Lance Taylor <iant@golang.org>
Wed, 13 May 2020 18:12:01 +0000 (11:12 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 13 May 2020 18:45:55 +0000 (11:45 -0700)
commit0d5d880994660e231f82b7cb1dcfab744158f7e0
treea1234ab5ae870bd9caf82df9a274c8d8462761e0
parentd2ec2786827e41a872276c88fb5d68c24e13ec46
libgo: build syscall test with -static

This avoids problems finding libgo.so when running the test as root,
which invokes the test as a child process in various limited environments.

Fixes PR go/95061

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