diff options
author | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
commit | 0d37a1ef234c38b27faba43bc3a22f985d311deb (patch) | |
tree | dde8df9f508e7323c3d7df599ceade7705c40acd /repo/go/tests-unset-GCCGO.patch | |
parent | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff) |
Remove all firmware
Diffstat (limited to 'repo/go/tests-unset-GCCGO.patch')
-rw-r--r-- | repo/go/tests-unset-GCCGO.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/go/tests-unset-GCCGO.patch b/repo/go/tests-unset-GCCGO.patch new file mode 100644 index 0000000..b69450b --- /dev/null +++ b/repo/go/tests-unset-GCCGO.patch @@ -0,0 +1,16 @@ +We skip many gccgo tests by setting GCCGO to a bogus value. However, +this particular test doesn't properly handle a non-existing $GCCGO +hence we unset the environment variable here. + +diff -upr go.orig/src/cmd/go/testdata/script/gccgo_link_c.txt go/src/cmd/go/testdata/script/gccgo_link_c.txt +--- go.orig/src/cmd/go/testdata/script/gccgo_link_c.txt 2022-09-30 10:58:07.524516646 +0200 ++++ go/src/cmd/go/testdata/script/gccgo_link_c.txt 2022-09-30 10:58:29.441202925 +0200 +@@ -4,6 +4,8 @@ + [!cgo] skip + [!exec:gccgo] skip + ++env GCCGO= ++ + go build -n -compiler gccgo + stderr 'gccgo.*\-L [^ ]*alibpath \-lalib' # make sure that Go-inline "#cgo LDFLAGS:" ("-L alibpath -lalib") passed to gccgo linking stage + |