diff options
Diffstat (limited to 'tools/depends/target/python3/crosscompile.patch')
-rw-r--r-- | tools/depends/target/python3/crosscompile.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tools/depends/target/python3/crosscompile.patch b/tools/depends/target/python3/crosscompile.patch index 93c86b8047..1b7b47725a 100644 --- a/tools/depends/target/python3/crosscompile.patch +++ b/tools/depends/target/python3/crosscompile.patch @@ -18,23 +18,6 @@ case $MACHDEP in --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -38,7 +38,6 @@ - MAINCC= @MAINCC@ - LINKCC= @LINKCC@ - AR= @AR@ --READELF= @READELF@ - SOABI= @SOABI@ - LDVERSION= @LDVERSION@ - LIBPYTHON= @LIBPYTHON@ -@@ -634,7 +634,7 @@ - $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build"; \ - $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ - _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ -- $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build -+ PYTHONXCPREFIX='$(DESTDIR)$(prefix)' $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build - - - # Build static library @@ -1694,10 +1694,11 @@ # This goes into $(exec_prefix) sharedinstall: sharedmods @@ -61,15 +44,6 @@ # This global variable is used to hold the list of modules to be disabled. DISABLED_MODULE_LIST = [] -@@ -58,7 +58,7 @@ - return sys.platform - - --CROSS_COMPILING = ("_PYTHON_HOST_PLATFORM" in os.environ) -+CROSS_COMPILING = ("_PYTHON_HOST_PLATFORM" in os.environ) or ('CROSS_COMPILE_TARGET' in os.environ) - HOST_PLATFORM = get_platform() - MS_WINDOWS = (HOST_PLATFORM == 'win32') - CYGWIN = (HOST_PLATFORM == 'cygwin') @@ -445,6 +445,7 @@ self.compiler.set_executables(**args) |