mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
arangodb: avoid reading /proc/cpuinfo during build
Avoid non-deterministic builds of ArangoDB proper. Note that this provides 0 guarantees about the vendored libraries doing anything similar.
This commit is contained in:
parent
2f6e24b810
commit
10fda118ee
@ -45,6 +45,9 @@ gcc10Stdenv.mkDerivation rec {
|
||||
"-DUSE_MAINTAINER_MODE=OFF"
|
||||
"-DUSE_GOOGLE_TESTS=off"
|
||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||
|
||||
# avoid reading /proc/cpuinfo for feature detection
|
||||
"-DTARGET_ARCHITECTURE=generic"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user