fix flag
This commit is contained in:
1 parent
e7670e58dd
commit
af0b90bd3e
1 file changed
+1
-1
@@ -1892,7 +1892,7 @@ gb_internal void init_build_context(TargetMetrics *cross_target, Subtarget subta
|
||||
// causing a stack overflow to error immediately instead of corrupting globals.
|
||||
link_flags = gb_string_appendc(link_flags, "--stack-first ");
|
||||
// NOTE(laytan): default stack size is 64KiB, up to a more reasonable 1MiB.
|
||||
link_flags = gb_string_appendc(link_flags, "--stack-size=1048576 ");
|
||||
link_flags = gb_string_appendc(link_flags, "-z stack-size=1048576 ");
|
||||
|
||||
// link_flags = gb_string_appendc(link_flags, "--export-all ");
|
||||
// link_flags = gb_string_appendc(link_flags, "--export-table ");
|
||||
|
||||
Reference in new issue
Block a user