mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
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 New Issue
Block a user