aboutsummaryrefslogtreecommitdiffstats
path: root/main/go-bootstrap/no-longjmp-redefine.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/go-bootstrap/no-longjmp-redefine.patch')
-rw-r--r--main/go-bootstrap/no-longjmp-redefine.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/go-bootstrap/no-longjmp-redefine.patch b/main/go-bootstrap/no-longjmp-redefine.patch
new file mode 100644
index 0000000000..36566d7a82
--- /dev/null
+++ b/main/go-bootstrap/no-longjmp-redefine.patch
@@ -0,0 +1,10 @@
+--- a/include/libc.h
++++ b/include/libc.h
+@@ -102,7 +102,6 @@ extern void sysfatal(char*, ...);
+ #define atoll p9atoll
+ #define getenv p9getenv
+ #define getwd p9getwd
+-#define longjmp p9longjmp
+ #undef setjmp
+ #define setjmp p9setjmp
+ #define putenv p9putenv