forked from mirrors/nixpkgs
mongodb: fix build on aarch64
This commit is contained in:
parent
df1eb63ae5
commit
f84d3d565a
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue