aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-08-22 21:49:32 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2016-08-23 05:08:46 +0000
commit93b753f525b62a2a860fc2ba2d4ea3f788c275f9 (patch)
treeddf915eec4483d93747a1391552dfd63698f3294 /src/net/http
parent550caa1c87ea11aa54c6482ff66f98b4036c474f (diff)
downloadgo-93b753f525b62a2a860fc2ba2d4ea3f788c275f9.tar.xz
cmd/link: fix handling of cgo_dynamic_interpreter
CL 27473 accidentally changed `!Debug['I']` to `*flagInterpreter != ""`. Since the old `Debug['I']` was set when the new *flagInterpreter was set, this inverted the sense of the condition. The effect was to always ignore the cgo_dynamic_interpreter setting from runtime/cgo. This worked OK when the default interpreter was the correct one, but failed when it was not, as is currently the case on, at least, PPC64 and ARM. This CL restores the old behavior by using a separate variable to track whether the -I flag was used, just as we used to. Change-Id: Icf9b65fa41349ed2e4de477fec0a557ef1eb8189 Reviewed-on: https://go-review.googlesource.com/27562 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions