summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-07-30 09:36:32 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-07-30 09:36:32 (GMT)
commit6074f217db7433b8ba7b025c1264b97396e32924 (patch)
tree3f4ad8bdc387f55cca104c22a6f9c024d05d42fe /configure
parentd78448e912126410117723c7d240bbdfff06df16 (diff)
parent3a32bdfaa7494bfc172b04bdb1c8159978af8d42 (diff)
downloadcpython-6074f217db7433b8ba7b025c1264b97396e32924.zip
cpython-6074f217db7433b8ba7b025c1264b97396e32924.tar.gz
cpython-6074f217db7433b8ba7b025c1264b97396e32924.tar.bz2
(merge from 3.5) Issue #27453: CPP invocation in configure must use CPPFLAGS.
Patch by Chi Hsuan Yen.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index da98f69..9970a0d 100755
--- a/configure
+++ b/configure
@@ -5370,7 +5370,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; }