mongodb: fix build on aarch64

This commit is contained in:
WilliButz 2019-07-28 13:54:50 +02:00
parent df1eb63ae5
commit f84d3d565a
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2

View File

@ -81,6 +81,8 @@ in stdenv.mkDerivation rec {
preBuild = ''
sconsFlags+=" CC=$CC"
sconsFlags+=" CXX=$CXX"
'' + optionalString stdenv.isAarch64 ''
sconsFlags+=" CCFLAGS='-march=armv8-a+crc'"
'';
preInstall = ''