1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/community/chromium/default-pthread-stacksize.patch
Natanael Copa 0b0247b3a1 community/chromium: gcc6 fix and reduce stacksize
the crashes apparently came from gcc6. so we reduce stack size to 2MB
again. This is what android use.
2016-09-08 11:03:51 +02:00

6 lines
312 B
Diff

--- a/base/threading/platform_thread_linux.cc.orig 2016-08-30 21:36:06.809571185 +0200
+++ b/base/threading/platform_thread_linux.cc 2016-08-30 21:36:14.582805286 +0200
@@ -99 +99,2 @@ size_t GetDefaultThreadStackSize(const p
- return 0;
+ // use 2mb to avoid running out of space
+ return (2 * 1024 * 1024);