arangodb: use gcc 10 (supported version)

This commit is contained in:
John Soo 2022-10-05 16:17:20 -07:00
parent 45dd4a1633
commit e1df4f5f21
No known key found for this signature in database
GPG Key ID: D8A148F8CE4DDBC2

View File

@ -1,4 +1,4 @@
{ stdenv
{ gcc10Stdenv
, lib
, fetchFromGitHub
, openssl
@ -11,7 +11,7 @@
, which
}:
stdenv.mkDerivation rec {
gcc10Stdenv.mkDerivation rec {
pname = "arangodb";
version = "3.9.3";
@ -43,8 +43,8 @@ stdenv.mkDerivation rec {
cmakeFlags = [
# avoid using builder's /proc/cpuinfo
"-DHAVE_SSE42=${if stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
"-DASM_OPTIMIZATIONS=${if stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
"-DHAVE_SSE42=${if gcc10Stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
"-DASM_OPTIMIZATIONS=${if gcc10Stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
];
enableParallelBuilding = true;