]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgo: add "vendor" to pkgpath for vendored standard packages
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 2017 20:16:42 +0000 (20:16 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 2017 20:16:42 +0000 (20:16 +0000)
commitaa443150c83535fedccb3dee80daa7e01fafd92d
tree7ff5607559d6de9691e1002b7b625f8d05b22048
parentbf8130ff48c34a9c27e8aa2451f92400d5d8f492
libgo: add "vendor" to pkgpath for vendored standard packages

    Ensure that the packages vendored into the standard library do not
    have the same pkgpath as the actual packages.  If we don't, attempts
    to build and test the actual packages will get confused.  The specific
    error I was seeing was import loops, causing some of the packages to
    fail to get initialized, causing an obscure run time crash.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@248169 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/Makefile.am
libgo/Makefile.in