Author doko
Recipients Arfrever, doko, eric.araujo
Date 2012-06-30.13:28:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
the updated patch addresses:

 - fix typo mentioned in msg156044

 - don't use the host python during build and installation

 - for include files and libraries, use the search directories
   provided by gcc, and only fall back to hard coded
   directories for native builds.

 - fix the dpkg-architecture call for cross builds

 - pass the --host and --build arguments to the libffi build

 - fix the pydebug check, taken from issue #3871.

The patch introduces two new variables, which are set in the environment for cross builds:

 - _PROJECT_BASE is used by Lib/ to point to the
   current source, while using the python3 interpreter of the
   build machine, so that the Makefile and the pyconfig.h are
   read from the current sources.

 - _HOST_PLATFORM is used to override the get_platform calls
   in Lib/, Lib/distutils/ and
   Yes, distutils is frozen, however this change shouldn't
   break anything else. It only relies on one environment
   variable _HOST_PLATFORM, so if this is an issue, then the
   name can be obfuscated even more.

tested with a cross build for arm-linux-gnueabihf on x86_64-linux-gnu, and a native build.
Date User Action Args
2012-06-30 13:28:47dokosetrecipients: + doko, eric.araujo, Arfrever
2012-06-30 13:28:46dokosetmessageid: <>
2012-06-30 13:28:46dokolinkissue14330 messages
2012-06-30 13:28:45dokocreate