mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
python3: unset MACOSX_DEPLOYMENT_TARGET
Setting an old target conflicts with the -stack_size,1000000 linker
flag. This fixes build of python310.
This reverts ce59dec5
('python34: as a workaround, explicitly set MACOSX_DEPLOYMENT_TARGET')
This commit is contained in:
parent
f557203a04
commit
49a0059a59
@ -344,7 +344,6 @@ in with passthru; stdenv.mkDerivation {
|
||||
done
|
||||
'' + optionalString stdenv.isDarwin ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -msse2"
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.6
|
||||
# Override the auto-detection in setup.py, which assumes a universal build
|
||||
export PYTHON_DECIMAL_WITH_MACHINE=${if stdenv.isAarch64 then "uint128" else "x64"}
|
||||
'' + optionalString (isPy3k && pythonOlder "3.7") ''
|
||||
|
Loading…
Reference in New Issue
Block a user