mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Update the configure cache file example in INSTALL.md
This commit is contained in:
parent
8c2b8bcf24
commit
02251c0070
1 changed files with 6 additions and 6 deletions
12
INSTALL.md
12
INSTALL.md
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue