From 6201055c7ae153dd05246a02f82d1aa775c8d7f1 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 3 Dec 2020 06:42:31 -0700 Subject: [PATCH] docs: build guide correction on `PLT_SETUP_OPTIONS` --- build.md | 11 ++++++----- pkgs/racket-build-guide/build.scrbl | 12 +++++++----- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/build.md b/build.md index 35940f174c..39b8c562e8 100644 --- a/build.md +++ b/build.md @@ -272,11 +272,12 @@ under Windows, encoding-conversion, extflonum, and SSL functionality is hobbled until native libraries from the `"racket-win32-i386"` or `"racket-win32-x86_64"` package are installed. -On all platforms, from the top-level makefile, `JOB_OPTIONS` as a -makefile variable and `PLT_SETUP_OPTIONS` as an environment variable are -passed on to the `raco setup` that is used to build minimal-Racket -libraries. See the documentation for `raco setup` for information on the -options. +On all platforms, from the top-level makefile, the `PLT_SETUP_OPTIONS` +makefile variable is passed on to the `raco setup` that is used to build +minimal-Racket libraries. See the documentation for `raco setup` for +information on the options. (The `JOB_OPTIONS` makefile variable is also +passed on, but it is meant to be set by some makefile targets when +`CPUS` is non-empty.) For cross compilation, add configuration options to `CONFIGURE_ARGS=""` as described in the `"README.txt"` of diff --git a/pkgs/racket-build-guide/build.scrbl b/pkgs/racket-build-guide/build.scrbl index 76bfc53e28..9db7842990 100644 --- a/pkgs/racket-build-guide/build.scrbl +++ b/pkgs/racket-build-guide/build.scrbl @@ -256,11 +256,13 @@ functionality is hobbled until native libraries from the @filepath{racket-win32-i386} or @filepath{racket-win32-x86_64} package are installed. -On all platforms, from the top-level makefile, @exec{JOB_OPTIONS} as a -makefile variable and @exec{PLT_SETUP_OPTIONS} as an environment -variable are passed on to the @exec{raco setup} that is used to build -minimal-Racket libraries. See the documentation for @exec{raco setup} -for information on the options. +On all platforms, from the top-level makefile, the +@exec{PLT_SETUP_OPTIONS} makefile variable is passed on to the +@exec{raco setup} that is used to build minimal-Racket libraries. See +the documentation for @exec{raco setup} for information on the +options. (The @exec{JOB_OPTIONS} makefile variable is also passed on, +but it is meant to be set by some makefile targets when @exec{CPUS} is +non-empty.) For cross compilation, add configuration options to @exec{CONFIGURE_ARGS="@nonterm{options}"} as described in the