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
9c2a8f97
Commit
9c2a8f97
authored
Jun 07, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27229: Fix in-tree cross-build rule, by Xavier de Gaye
parent
8f5798ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Makefile.pre.in
Makefile.pre.in
+5
-2
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Makefile.pre.in
View file @
9c2a8f97
...
...
@@ -793,13 +793,16 @@ $(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGEN)
if
test
"
$(cross_compiling)
"
!=
"yes"
;
then
\
$(PGEN)
$(GRAMMAR_INPUT)
$(GRAMMAR_H)
$(GRAMMAR_C)
;
\
else
\
cp
$(srcdir)
/Include/graminit.h
$(GRAMMAR_H)
;
\
# Avoid copying the file onto itself for an in-tree build
\
cp
$(srcdir)
/Include/graminit.h
$(GRAMMAR_H)
.tmp
;
\
mv
$(GRAMMAR_H)
.tmp
$(GRAMMAR_H)
;
\
fi
$(GRAMMAR_C)
:
$(GRAMMAR_H)
if
test
"
$(cross_compiling)
"
!=
"yes"
;
then
\
touch
$(GRAMMAR_C)
;
\
else
\
cp
$(srcdir)
/Python/graminit.c
$(GRAMMAR_C)
;
\
cp
$(srcdir)
/Python/graminit.c
$(GRAMMAR_C)
.tmp
;
\
mv
$(GRAMMAR_C)
.tmp
$(GRAMMAR_C)
;
\
fi
$(PGEN)
:
$(PGENOBJS)
...
...
Misc/NEWS
View file @
9c2a8f97
...
...
@@ -581,6 +581,9 @@ Build
source
code
anyway
,
and
is
still
regenerated
when
doing
a
native
build
.
Patch
by
Xavier
de
Gaye
.
-
Issue
#
27229
:
Fix
the
cross
-
compiling
pgen
rule
for
in
-
tree
builds
.
Patch
by
Xavier
de
Gaye
.
-
Issue
#
21668
:
Link
audioop
,
_datetime
,
_ctypes_test
modules
to
libm
,
except
on
Mac
OS
X
.
Patch
written
by
Xavier
de
Gaye
.
...
...
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