libgo: fix build when using -enable-static=no
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 20 Sep 2017 23:31:00 +0000 (23:31 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 20 Sep 2017 23:31:00 +0000 (23:31 +0000)
commit7399e345be175f47d0a7287703c752a2941fa889
treed215d05316d47d51edd70abb6400cb803f1591bf
parent073809a7187bba6eb3a775d45a248754e9f37a64
libgo: fix build when using -enable-static=no

    With -enable-static=no we don't build non-pic objects, but libgotool.a
    is built from non-pic objects.  Build the packages that go into
    libgotool.a in static mode in all cases.

    Also ensure that internal test packages are built, since nothing
    explicitly depended on them.

    Reviewed-on: https://go-review.googlesource.com/65050

From-SVN: r253042
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in