From a29eafa614057a83d52baee6c08825f5a4cdc43c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 29 Aug 2002 15:04:37 +0000 Subject: [PATCH] Suppress warnings when byte-compiling the installed library modules. This seems the sanest thing to do. --- Makefile.pre.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 8bb3fc629d..1234dd6cbe 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): -- 2.40.0