Issue #27453: CPP invocation in configure must use CPPFLAGS.

Patch by Chi Hsuan Yen.
This commit is contained in:
Xavier de Gaye 2016-07-30 11:28:35 +02:00
parent fa95068081
commit 3a32bdfaa7
4 changed files with 6 additions and 2 deletions

2
configure vendored
View file

@ -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; }