diff options
Diffstat (limited to 'repo/go/tests-x86-testsigfwd.patch')
-rw-r--r-- | repo/go/tests-x86-testsigfwd.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/repo/go/tests-x86-testsigfwd.patch b/repo/go/tests-x86-testsigfwd.patch new file mode 100644 index 0000000..a681ec4 --- /dev/null +++ b/repo/go/tests-x86-testsigfwd.patch @@ -0,0 +1,14 @@ +See https://github.com/golang/go/issues/54422 + +diff -upr go.orig/misc/cgo/testsigfwd/main.go go/misc/cgo/testsigfwd/main.go +--- go.orig/misc/cgo/testsigfwd/main.go 2022-08-12 20:28:17.222319036 +0200 ++++ go/misc/cgo/testsigfwd/main.go 2022-08-12 20:28:45.752384953 +0200 +@@ -7,7 +7,7 @@ package main + import "fmt" + + /* +-#cgo CFLAGS: -pthread ++#cgo CFLAGS: -pthread -fno-stack-protector + #cgo LDFLAGS: -pthread + + #include <signal.h> |