Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e03a98bf
Commit
e03a98bf
authored
Jul 30, 2016
by
Xavier de Gaye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27453: CPP invocation in configure must use CPPFLAGS.
Patch by Chi Hsuan Yen.
parent
e40492dc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
No files found.
Misc/ACKS
View file @
e03a98bf
...
@@ -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
Misc/NEWS
View file @
e03a98bf
...
@@ -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.
...
...
configure
View file @
e03a98bf
...
@@ -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
;
}
...
...
configure.ac
View file @
e03a98bf
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment