[arch-commits] Commit in go/trunk (default-buildmode-pie.patch)

Morten Linderud foxboron at archlinux.org
Mon May 18 17:42:32 UTC 2020


    Date: Monday, May 18, 2020 @ 17:42:31
  Author: foxboron
Revision: 629583

Remove buildmode patch

Deleted:
  go/trunk/default-buildmode-pie.patch

-----------------------------+
 default-buildmode-pie.patch |   13 -------------
 1 file changed, 13 deletions(-)

Deleted: default-buildmode-pie.patch
===================================================================
--- default-buildmode-pie.patch	2020-05-18 17:42:12 UTC (rev 629582)
+++ default-buildmode-pie.patch	2020-05-18 17:42:31 UTC (rev 629583)
@@ -1,13 +0,0 @@
-diff --git a/src/cmd/go/internal/work/init.go b/src/cmd/go/internal/work/init.go
-index 7f894f5..a517887 100644
---- a/src/cmd/go/internal/work/init.go
-+++ b/src/cmd/go/internal/work/init.go
-@@ -131,7 +131,7 @@ func buildModeInit() {
- 		ldBuildmode = "c-shared"
- 	case "default":
- 		switch cfg.Goos {
--		case "android":
-+		case "android", "linux":
- 			codegenArg = "-shared"
- 			ldBuildmode = "pie"
- 		case "darwin":



More information about the arch-commits mailing list