aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/compilers/go/remove-test-pie-1.13.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/compilers/go/remove-test-pie-1.13.patch')
-rw-r--r--nixpkgs/pkgs/development/compilers/go/remove-test-pie-1.13.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/nixpkgs/pkgs/development/compilers/go/remove-test-pie-1.13.patch b/nixpkgs/pkgs/development/compilers/go/remove-test-pie-1.13.patch
deleted file mode 100644
index 05f18b813f9..00000000000
--- a/nixpkgs/pkgs/development/compilers/go/remove-test-pie-1.13.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
-index f63c94697c..f02eff7064 100644
---- a/src/cmd/dist/test.go
-+++ b/src/cmd/dist/test.go
-@@ -574,29 +574,6 @@ func (t *tester) registerTests() {
- })
- }
-
-- // Test internal linking of PIE binaries where it is supported.
-- if goos == "linux" && (goarch == "amd64" || goarch == "arm64") {
-- t.tests = append(t.tests, distTest{
-- name: "pie_internal",
-- heading: "internal linking of -buildmode=pie",
-- fn: func(dt *distTest) error {
-- t.addCmd(dt, "src", t.goTest(), "reflect", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60))
-- return nil
-- },
-- })
-- // Also test a cgo package.
-- if t.cgoEnabled {
-- t.tests = append(t.tests, distTest{
-- name: "pie_internal_cgo",
-- heading: "internal linking of -buildmode=pie",
-- fn: func(dt *distTest) error {
-- t.addCmd(dt, "src", t.goTest(), "os/user", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60))
-- return nil
-- },
-- })
-- }
-- }
--
- // sync tests
- if goos != "js" { // js doesn't support -cpu=10
- t.tests = append(t.tests, distTest{