source: packages/lang/python/patches/020-dont-compile-python-files.patch @ 29369

Last change on this file since 29369 was 29369, checked in by jow, 5 years ago

[packages] python: fix compilation against Linux 3.x (#10197)

File size: 1.2 KB
  • Makefile.pre.in

    ---
     Makefile.pre.in |   16 ----------------
     1 file changed, 16 deletions(-)
    
    a b libinstall: build_all $(srcdir)/Lib/$(PL 
    887887                done; \ 
    888888        done 
    889889        $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt 
    890         PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \ 
    891                 ./$(BUILDPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ 
    892                 -d $(LIBDEST) -f \ 
    893                 -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST) 
    894         PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ 
    895                 ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ 
    896                 -d $(LIBDEST) -f \ 
    897                 -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST) 
    898         -PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \ 
    899                 ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ 
    900                 -d $(LIBDEST)/site-packages -f \ 
    901                 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages 
    902         -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ 
    903                 ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ 
    904                 -d $(LIBDEST)/site-packages -f \ 
    905                 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages 
    906890        -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ 
    907891                ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()" 
    908892 
Note: See TracBrowser for help on using the repository browser.