Commit e03a98bf authored by Xavier de Gaye's avatar Xavier de Gaye

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

Patch by Chi Hsuan Yen.
parent e40492dc
...@@ -1663,3 +1663,4 @@ Gennadiy Zlobin ...@@ -1663,3 +1663,4 @@ Gennadiy Zlobin
Doug Zongker Doug Zongker
Peter Åstrand Peter Åstrand
evilzero evilzero
Chi Hsuan Yen
...@@ -145,6 +145,9 @@ Windows ...@@ -145,6 +145,9 @@ Windows
Build 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 - Issue #27490: Do not build pgen when cross-compiling. Patch by Thomas
Perl. Perl.
......
...@@ -5369,7 +5369,7 @@ cat >> conftest.c <<EOF ...@@ -5369,7 +5369,7 @@ cat >> conftest.c <<EOF
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 ' '` PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5
$as_echo "$PLATFORM_TRIPLET" >&6; } $as_echo "$PLATFORM_TRIPLET" >&6; }
......
...@@ -870,7 +870,7 @@ cat >> conftest.c <<EOF ...@@ -870,7 +870,7 @@ cat >> conftest.c <<EOF
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 ' '` PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
AC_MSG_RESULT([$PLATFORM_TRIPLET]) AC_MSG_RESULT([$PLATFORM_TRIPLET])
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment