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
da324d53
Commit
da324d53
authored
Nov 27, 2018
by
E. M. Bray
Committed by
Benjamin Peterson
Nov 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712)
parent
f2a9d5c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Makefile.pre.in
Makefile.pre.in
+1
-0
Modules/makesetup
Modules/makesetup
+1
-1
No files found.
Makefile.pre.in
View file @
da324d53
...
...
@@ -106,6 +106,7 @@ ARFLAGS= @ARFLAGS@
CFLAGSFORSHARED
=
@CFLAGSFORSHARED@
# C flags used for building the interpreter object files
PY_STDMODULE_CFLAGS
=
$(PY_CFLAGS)
$(PY_CFLAGS_NODIST)
$(PY_CPPFLAGS)
$(CFLAGSFORSHARED)
PY_BUILTIN_MODULE_CFLAGS
=
$(PY_STDMODULE_CFLAGS)
-DPy_BUILD_CORE_BUILTIN
PY_CORE_CFLAGS
=
$(PY_STDMODULE_CFLAGS)
-DPy_BUILD_CORE
# Strict or non-strict aliasing flags used to compile dtoa.c, see above
CFLAGS_ALIASING
=
@CFLAGS_ALIASING@
...
...
Modules/makesetup
View file @
da324d53
...
...
@@ -233,7 +233,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
case
$doconfig
in
no
)
cc
=
"
$cc
\$
(CCSHARED)
\$
(PY_CFLAGS)
\$
(PY_CPPFLAGS)"
;;
*
)
cc
=
"
$cc
\$
(PY_
STD
MODULE_CFLAGS)"
;;
cc
=
"
$cc
\$
(PY_
BUILTIN_
MODULE_CFLAGS)"
;;
esac
rule
=
"
$obj
:
$src
;
$cc
$cpps
-c
$src
-o
$obj
"
echo
"
$rule
"
>>
$rulesf
...
...
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