mk: Allow usage of a local jemalloc install
This adds a new configure option, --jemalloc-root, which will specify a location at which libjemalloc_pic.a must live. This library is then used for the build triple as the jemalloc library to link.
This commit is contained in:
parent
fce98e5262
commit
145e415fab
2 changed files with 18 additions and 2 deletions
2
configure
vendored
2
configure
vendored
|
@ -425,6 +425,7 @@ opt verify-install 1 "verify installed binaries work"
|
|||
valopt prefix "/usr/local" "set installation prefix"
|
||||
valopt local-rust-root "/usr/local" "set prefix for local rust binary"
|
||||
valopt llvm-root "" "set LLVM root"
|
||||
valopt jemalloc-root "" "set jemalloc root"
|
||||
valopt android-cross-path "/opt/ndk_standalone" "Android NDK standalone path"
|
||||
valopt mingw32-cross-path "" "MinGW32 cross compiler path"
|
||||
|
||||
|
@ -1198,6 +1199,7 @@ putvar CFG_ANDROID_CROSS_PATH
|
|||
putvar CFG_MINGW32_CROSS_PATH
|
||||
putvar CFG_MANDIR
|
||||
putvar CFG_DISABLE_INJECT_STD_VERSION
|
||||
putvar CFG_JEMALLOC_ROOT
|
||||
|
||||
# Avoid spurious warnings from clang by feeding it original source on
|
||||
# ccache-miss rather than preprocessed input.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue