summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorXavier de Gaye <xdegaye@users.sourceforge.net>2016-07-30 09:28:35 (GMT)
committerXavier de Gaye <xdegaye@users.sourceforge.net>2016-07-30 09:28:35 (GMT)
commit3a32bdfaa7494bfc172b04bdb1c8159978af8d42 (patch)
tree41d0c958d7e2ef2edd9107b9baa474355f2ce178 /configure
parentfa95068081b2e404c3ba1dea923da078895ee53a (diff)
downloadcpython-3a32bdfaa7494bfc172b04bdb1c8159978af8d42.zip
cpython-3a32bdfaa7494bfc172b04bdb1c8159978af8d42.tar.gz
cpython-3a32bdfaa7494bfc172b04bdb1c8159978af8d42.tar.bz2
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 f0cf515..bb89a5a 100755
--- a/configure
+++ b/configure
@@ -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; }