3
0
Fork 0
forked from mirrors/nixpkgs

python3: don't patch out -Wl,-stack_size,1000000

The original motivation behind removing that was to appease a consumer
of python-config's output. That issue was probably resolved by now, so
let's bring the build in sync with what python is doing by default.

This reverts b7819e38 ('python3.x: Patch extra stack size on darwin')
This commit is contained in:
Dmitry Kalinkin 2022-02-01 20:29:33 -05:00
parent 49a0059a59
commit c7c3187d98
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -192,7 +192,6 @@ in with passthru; stdenv.mkDerivation {
prePatch = optionalString stdenv.isDarwin ''
substituteInPlace configure --replace '`/usr/bin/arch`' '"i386"'
substituteInPlace configure --replace '-Wl,-stack_size,1000000' ' '
'' + optionalString (pythonOlder "3.9" && stdenv.isDarwin && x11Support) ''
# Broken on >= 3.9; replaced with ./3.9/darwin-tcl-tk.patch
substituteInPlace setup.py --replace /Library/Frameworks /no-such-path