blob: a681ec4024a5b5ab67434764c3fb6216786ca38d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>
|