arangodb: disable "maintainer mode"

This commit is contained in:
John Soo 2022-10-05 21:35:05 -07:00
parent 86e1247a47
commit c3bfecd161
No known key found for this signature in database
GPG Key ID: D8A148F8CE4DDBC2

View File

@ -42,6 +42,9 @@ gcc10Stdenv.mkDerivation rec {
'';
cmakeFlags = [
# disable "maintainer mode"
"-DUSE_MAINTAINER_MODE=OFF"
# avoid using builder's /proc/cpuinfo
"-DHAVE_SSE42=${if gcc10Stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
"-DASM_OPTIMIZATIONS=${if gcc10Stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"