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
693320ad
Commit
693320ad
authored
Sep 07, 2012
by
Christian Heimes
Browse files
Options
Browse Files
Download
Plain Diff
Issue #15591 and Issue #11715: silence output of setup.py when make is run with -s option.
parents
ce66a3e3
74b65c8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
Makefile.pre.in
Makefile.pre.in
+9
-7
No files found.
Makefile.pre.in
View file @
693320ad
...
...
@@ -202,6 +202,14 @@ HOST_GNU_TYPE= @host@
PROFILE_TASK
=
$(srcdir)
/Tools/pybench/pybench.py
-n
2
--with-gc
--with-syscheck
#PROFILE_TASK= $(srcdir)/Lib/test/regrtest.py
# Find the silent flag in MAKEFLAGS. The flags are sorted and normalized
# by GNU make. The 's' flag is always in the first word.
ifneq
(,$(findstring s,$(word 1,$(MAKEFLAGS))))
QUIET
=
-q
else
QUIET
=
endif
# === Definitions added by makesetup ===
...
...
@@ -475,14 +483,8 @@ $(SYSCONFIGDATA): $(BUILDPYTHON)
# Build the shared modules
sharedmods
:
$(BUILDPYTHON) $(SYSCONFIGDATA)
if
which getopt
>
/dev/null
;
then
\
mflags
=
`
getopt s
$$
MAKEFLAGS 2>/dev/null |
sed
's/ --.*/ /'
`
;
\
else
\
mflags
=
"
$$
MAKEFLAGS "
;
\
fi
;
\
case
$$
mflags
in
"* -s *"
)
quiet
=
-q
;
esac
;
\
$(RUNSHARED)
CC
=
'
$(CC)
'
LDSHARED
=
'
$(BLDSHARED)
'
OPT
=
'
$(OPT)
'
\
$(PYTHON_FOR_BUILD)
$(srcdir)
/setup.py
$
$
quiet
build
$(PYTHON_FOR_BUILD)
$(srcdir)
/setup.py
$
(QUIET)
build
# Build static library
# avoid long command lines, same as LIBRARY_OBJS
...
...
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