aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorLynn Boger <laboger@linux.vnet.ibm.com>2017-10-11 16:02:59 -0400
committerLynn Boger <laboger@linux.vnet.ibm.com>2017-10-11 21:01:45 +0000
commitc15c44ec48fa278330b5d205cf7b4508250496fe (patch)
tree0365e91f6a4e565dedfa9f78b00e7f311000c66f /src/encoding/json/encode.go
parentecfa7375e40e3586afbac0ec6f3f9383124b25bc (diff)
downloadgo-c15c44ec48fa278330b5d205cf7b4508250496fe.tar.xz
misc/cgo/testcarchive: use -no-pie where needed
Starting in gcc 6, -pie is passed to the linker by default on some platforms, including ppc64le. If the objects being linked are not built for -pie then in some cases the executable could be in error. To avoid that problem, -no-pie should be used with gcc to override the default -pie option and generate a correct executable that can be run without error. Fixes #22126 Change-Id: I4a052bba8b9b3bd6706f5d27ca9a7cebcb504c95 Reviewed-on: https://go-review.googlesource.com/70072 Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions