[Python-checkins] cpython (3.5): Issue #15819: Remove old unconditional -IInclude option

martin.panter python-checkins at python.org
Tue Sep 13 09:29:32 EDT 2016


https://hg.python.org/cpython/rev/36550e4f9b4c
changeset:   103758:36550e4f9b4c
branch:      3.5
parent:      103745:5d93a9b4f0e8
user:        Martin Panter <vadmium+py at gmail.com>
date:        Tue Sep 13 12:21:47 2016 +0000
summary:
  Issue #15819: Remove old unconditional -IInclude option

A newer instance of this option, enabled in the configure script when
building outside the source tree, made this redundant.

files:
  Makefile.pre.in |  2 +-
  Misc/NEWS       |  3 +++
  2 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -90,7 +90,7 @@
 # Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
 # be able to build extension modules using the directories specified in the
 # environment variables
-PY_CPPFLAGS=	$(BASECPPFLAGS) -I. -IInclude -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)
+PY_CPPFLAGS=	$(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)
 PY_LDFLAGS=	$(CONFIGURE_LDFLAGS) $(LDFLAGS)
 NO_AS_NEEDED=	@NO_AS_NEEDED@
 LDLAST=		@LDLAST@
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -328,6 +328,9 @@
 - Issue #28066: Fix the logic that searches build directories for generated
   include files when building outside the source tree.
 
+- Issue #15819: Remove redundant include search directory option for building
+  outside the source tree.
+
 - Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
 
 - Issue #27705: Update message in validate_ucrtbase.py

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list