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:
John Soo
2022-10-30 10:22:18 -07:00
parent 2f6e24b810
commit 10fda118ee
+3
View File
@@ -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; {