diff options
author | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-07-30 09:28:35 (GMT) |
---|---|---|
committer | Xavier de Gaye <xdegaye@users.sourceforge.net> | 2016-07-30 09:28:35 (GMT) |
commit | 3a32bdfaa7494bfc172b04bdb1c8159978af8d42 (patch) | |
tree | 41d0c958d7e2ef2edd9107b9baa474355f2ce178 | |
parent | fa95068081b2e404c3ba1dea923da078895ee53a (diff) | |
download | cpython-3a32bdfaa7494bfc172b04bdb1c8159978af8d42.zip cpython-3a32bdfaa7494bfc172b04bdb1c8159978af8d42.tar.gz cpython-3a32bdfaa7494bfc172b04bdb1c8159978af8d42.tar.bz2 |
Issue #27453: CPP invocation in configure must use CPPFLAGS.
Patch by Chi Hsuan Yen.
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
4 files changed, 6 insertions, 2 deletions
@@ -1663,3 +1663,4 @@ Gennadiy Zlobin Doug Zongker Peter Åstrand evilzero +Chi Hsuan Yen @@ -145,6 +145,9 @@ Windows Build ----- +- Issue #27453: CPP invocation in configure must use CPPFLAGS. Patch by + Chi Hsuan Yen. + - Issue #27490: Do not build pgen when cross-compiling. Patch by Thomas Perl. @@ -5369,7 +5369,7 @@ cat >> conftest.c <<EOF EOF -if $CPP conftest.c >conftest.out 2>/dev/null; then +if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5 $as_echo "$PLATFORM_TRIPLET" >&6; } diff --git a/configure.ac b/configure.ac index bf2a348..8135c71 100644 --- a/configure.ac +++ b/configure.ac @@ -870,7 +870,7 @@ cat >> conftest.c <<EOF EOF -if $CPP conftest.c >conftest.out 2>/dev/null; then +if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '` AC_MSG_RESULT([$PLATFORM_TRIPLET]) else |