mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
mongodb: Fix darwin
This commit is contained in:
parent
9336998b51
commit
cb52c9bb10
@ -144,6 +144,7 @@ in stdenv.mkDerivation rec {
|
||||
preBuild = ''
|
||||
sconsFlags+=" CC=$CC"
|
||||
sconsFlags+=" CXX=$CXX"
|
||||
'' + optionalString (!stdenv.isDarwin) ''
|
||||
sconsFlags+=" AR=$AR"
|
||||
'' + optionalString stdenv.isAarch64 ''
|
||||
sconsFlags+=" CCFLAGS='-march=armv8-a+crc'"
|
||||
|
Loading…
Reference in New Issue
Block a user