mongodb: enable pie hardening
This commit is contained in:
parent
b3d9562fc8
commit
5176e7ac77
@ -19,6 +19,7 @@ let version = "3.2.1";
|
|||||||
#"stemmer" -- not nice to package yet (no versioning, no makefile, no shared libs).
|
#"stemmer" -- not nice to package yet (no versioning, no makefile, no shared libs).
|
||||||
"yaml"
|
"yaml"
|
||||||
] ++ optionals stdenv.isLinux [ "tcmalloc" ];
|
] ++ optionals stdenv.isLinux [ "tcmalloc" ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
sasl boost gperftools pcre snappy
|
sasl boost gperftools pcre snappy
|
||||||
zlib libyamlcpp sasl openssl libpcap
|
zlib libyamlcpp sasl openssl libpcap
|
||||||
@ -79,6 +80,8 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
hardening_pie = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "a scalable, high-performance, open source NoSQL database";
|
description = "a scalable, high-performance, open source NoSQL database";
|
||||||
homepage = http://www.mongodb.org;
|
homepage = http://www.mongodb.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user