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