diff -rupN Python-2.7.14/setup.py Python-2.7.14-new/setup.py
--- Python-2.7.14/setup.py 2017-10-31 18:36:37.848181685 +0100
+++ Python-2.7.14-new/setup.py 2017-10-31 18:36:38.951181402 +0100
@@ -463,7 +463,8 @@ class PyBuildExt(build_ext):
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
if cross_compiling:
self.add_gcc_paths()
- self.add_multiarch_paths()
+ if not cross_compiling:
+ self.add_multiarch_paths()
# Add paths specified in the environment variables LDFLAGS and
# CPPFLAGS for header and library files.