diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-07-29 05:52:32 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-07-29 05:52:32 (GMT) |
commit | bc82de084c494482faf3f9e45cd455c0d72a3f3c (patch) | |
tree | 6a94c2ac56a979c45fb49879fc3da88163122501 /configure | |
parent | 692497a3064b8bd78743f4172bf4d17c9bdf9117 (diff) | |
download | cpython-bc82de084c494482faf3f9e45cd455c0d72a3f3c.zip cpython-bc82de084c494482faf3f9e45cd455c0d72a3f3c.tar.gz cpython-bc82de084c494482faf3f9e45cd455c0d72a3f3c.tar.bz2 |
Issue #27641: Comment out regeneration rules when cross compiling
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -735,7 +735,7 @@ UNIVERSALSDK CONFIG_ARGS SOVERSION VERSION -PGEN_DEPENDENCY +GENERATED_COMMENT PYTHON_FOR_BUILD host_os host_vendor @@ -745,7 +745,6 @@ build_os build_vendor build_cpu build -cross_compiling target_alias host_alias build_alias @@ -2800,7 +2799,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers pyconfig.h" - ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then @@ -2925,12 +2923,13 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; } $as_echo "$interp" >&6; } PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp fi - PGEN_DEPENDENCY='' + # Used to comment out stuff for rebuilding generated files + GENERATED_COMMENT='#' elif test "$cross_compiling" = maybe; then as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5 else PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E' - PGEN_DEPENDENCY='$(PGEN)' + GENERATED_COMMENT='' fi |