aboutsummaryrefslogtreecommitdiff
path: root/src/libthread
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread')
-rw-r--r--src/libthread/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c
index 79e0ec71..b5bfed3e 100644
--- a/src/libthread/thread.c
+++ b/src/libthread/thread.c
@@ -690,6 +690,7 @@ threadrwakeup(Rendez *r, int all, ulong pc)
static int threadargc;
static char **threadargv;
+#pragma weak mainstacksize
int mainstacksize;
extern int _p9usepwlibrary; /* getgrgid etc. smash the stack - tell _p9dir just say no */
static void