diff options
| author | Laytan <laytanlaats@hotmail.com> | 2025-07-29 19:07:28 +0200 |
|---|---|---|
| committer | Laytan <laytanlaats@hotmail.com> | 2025-07-29 19:07:28 +0200 |
| commit | af0b90bd3e0ef7d11eec9cc07aac3b6774c7c818 (patch) | |
| tree | 819d3c78fa2de7eab8f68fc052320f989eadab65 /src/build_settings.cpp | |
| parent | e7670e58dd602803d8335b9996639003844bc4c3 (diff) | |
fix flag
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 5afc9c44f..46a4f9ae5 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -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 "); |