From 9e45d1525b0fde12a08f7c376b5bf2c7bfbc9803 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Wed, 31 May 2023 14:29:22 +0200 Subject: Support FINAL_LDFLAGS variable for binaries ... and set default stack size to 8 MB. --- INSTALL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'INSTALL.md') diff --git a/INSTALL.md b/INSTALL.md index e9da7f59..86a23467 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -22,7 +22,7 @@ specify `arm64` as the target architecture via the `-D` flag: just-mr build -D '{"TARGET_ARCH":"arm64"}' ``` -The following table descries the most important supported configuration +The following table describes the most important supported configuration variables. The full list can be obtained via `just-mr describe`. |Variable|Supported Values|Default Value for `just`| @@ -35,6 +35,10 @@ variables. The full list can be obtained via `just-mr describe`. | DEBUG | true, false | false | | BUILD_STATIC_BINARY | true, false | false | +Note that you can choose a different stack size for resulting binaries by +adding `"-Wl,-z,stack-size="` to variable `"FINAL_LDFLAGS"` +(which has to be a list of strings). + ## Bootstrapping `just` It is also possible to build `just` without having an older binary, -- cgit v1.2.3