Merge pull request #91178 from FRidh/ldshared
python3: improve cross-compilation of extension modules, fixes #91171
This commit is contained in:
@@ -20,10 +20,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# for python cross-compiling
|
||||
_PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config;
|
||||
# The i686 case is a quick hack; I don't know what's wrong.
|
||||
postConfigure = stdenv.lib.optionalString (!stdenv.isi686) ''
|
||||
export LDSHARED="$LD -shared"
|
||||
'';
|
||||
|
||||
# gcc bug with -O1 on ARM with gcc 4.8
|
||||
# This should be fine on all platforms so apply universally
|
||||
|
||||
Reference in New Issue
Block a user