forked from rarias/bscpkgs
Add support for nanos6 with jemalloc
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
, extrae
|
||||
, boost
|
||||
, autoreconfHook
|
||||
, enableJemalloc ? false
|
||||
, jemalloc ? null
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
@@ -38,6 +40,9 @@ stdenv.mkDerivation rec {
|
||||
export NANOS6_GIT_BRANCH=${branch}
|
||||
'';
|
||||
|
||||
configureFlags = [] ++
|
||||
optional enableJemalloc "--with-jemalloc=${jemalloc}";
|
||||
|
||||
# The "bindnow" flags are incompatible with ifunc resolution mechanism. We
|
||||
# disable all by default, which includes bindnow.
|
||||
hardeningDisable = [ "all" ];
|
||||
|
||||
Reference in New Issue
Block a user