]> Cypherpunks repositories - gostls13.git/commit
cmd/link: use full link, not compile, to test for -no-?pie
authorIan Lance Taylor <iant@golang.org>
Mon, 24 Jul 2017 17:13:25 +0000 (10:13 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 24 Jul 2017 17:50:57 +0000 (17:50 +0000)
commit6bb88fc280518150e31bf12744596467796a4528
tree5050c9af6343771a8cf206b456320ee2841f8f90
parent7c946c6d61a9ef0203fba73be6c462215f0e5795
cmd/link: use full link, not compile, to test for -no-?pie

This avoids an error from clang when using -nopie during compilation,
and permits us to check that the entire build succeeds.

Updates #21042

Change-Id: I2e6c7d5c97a85c223ed3288622bbb58ce33b8774
Reviewed-on: https://go-review.googlesource.com/50874
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/link/internal/ld/lib.go