]> Cypherpunks repositories - gostls13.git/commit
cmd/objdump: skip PIE test when cgo is disabled and PIE needs external linking
authorCherry Mui <cherryyz@google.com>
Thu, 3 Nov 2022 16:21:58 +0000 (12:21 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 3 Nov 2022 16:57:09 +0000 (16:57 +0000)
commit1f65c399befa37e6727bb1a1a40aca65c4b6bcc4
treeda48d87970c912fc929e54becaf5fa840bab64da
parentb07e845e764806fa888cb4e99c8ace4625f0472f
cmd/objdump: skip PIE test when cgo is disabled and PIE needs external linking

On some platforms, building PIE needs external linking, which
cannot run if cgo is not available.

Change-Id: I6d504aed0f0442cda0355d0beac606ad365e2046
Reviewed-on: https://go-review.googlesource.com/c/go/+/447616
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/objdump/objdump_test.go