Merge pull request #122941 from bobrik/ivan/msse-x86
python2: only pass -msse2 on x86_64-darwin, not any darwin
This commit is contained in:
commit
74562c88c9
@ -258,7 +258,7 @@ in with passthru; stdenv.mkDerivation ({
|
||||
LDFLAGS = lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||
inherit (mkPaths buildInputs) C_INCLUDE_PATH LIBRARY_PATH;
|
||||
|
||||
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin "-msse2"
|
||||
NIX_CFLAGS_COMPILE = optionalString (stdenv.targetPlatform.system == "x86_64-darwin") "-msse2"
|
||||
+ optionalString stdenv.hostPlatform.isMusl " -DTHREAD_STACK_SIZE=0x100000";
|
||||
DETERMINISTIC_BUILD = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user