summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-29 15:04:37 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-29 15:04:37 (GMT)
commita29eafa614057a83d52baee6c08825f5a4cdc43c (patch)
tree61bc585aa0603c2d905e0d4927ae255bbb5800f2 /Makefile.pre.in
parentf0253f2bc585ed5d6e446d78b3538550ec00af24 (diff)
downloadcpython-a29eafa614057a83d52baee6c08825f5a4cdc43c.zip
cpython-a29eafa614057a83d52baee6c08825f5a4cdc43c.tar.gz
cpython-a29eafa614057a83d52baee6c08825f5a4cdc43c.tar.bz2
Suppress warnings when byte-compiling the installed library modules.
This seems the sanest thing to do.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 8bb3fc6..1234dd6 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -669,10 +669,11 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
done
$(INSTALL_DATA) $(srcdir)/LICENSE $(LIBDEST)/LICENSE.txt
PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
- ./$(BUILDPYTHON) -tt $(LIBDEST)/compileall.py -x badsyntax \
- $(LIBDEST)
+ ./$(BUILDPYTHON) -Wi -tt $(LIBDEST)/compileall.py \
+ -x badsyntax $(LIBDEST)
PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
- ./$(BUILDPYTHON) -O $(LIBDEST)/compileall.py -x badsyntax $(LIBDEST)
+ ./$(BUILDPYTHON) -Wi -tt -O $(LIBDEST)/compileall.py \
+ -x badsyntax $(LIBDEST)
# Create the PLATDIR source directory, if one wasn't distributed..
$(srcdir)/Lib/$(PLATDIR):