Update the configure cache file example in INSTALL.md

This commit is contained in:
Qi Wang 2024-10-04 11:29:04 -07:00 committed by Qi Wang
parent 8c2b8bcf24
commit 02251c0070

View file

@ -322,13 +322,13 @@ behavior:
'configure' uses this to find programs. 'configure' uses this to find programs.
In some cases it may be necessary to work around configuration results that do In some cases it may be necessary to work around configuration results that do
not match reality. For example, Linux 4.5 added support for the MADV_FREE flag not match reality. For example, Linux 3.4 added support for the MADV_DONTDUMP
to madvise(2), which can cause problems if building on a host with MADV_FREE flag to madvise(2), which can cause problems if building on a host with
support and deploying to a target without. To work around this, use a cache MADV_DONTDUMP support and deploying to a target without. To work around this,
file to override the relevant configuration variable defined in configure.ac, use a cache file to override the relevant configuration variable defined in
e.g.: configure.ac, e.g.:
echo "je_cv_madv_free=no" > config.cache && ./configure -C echo "je_cv_madv_dontdump=no" > config.cache && ./configure -C
## Advanced compilation ## Advanced compilation