mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
fix flag
This commit is contained in:
@@ -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