patch-Makefile_pre_in 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --- Python-2.7.13.orig/Makefile.pre.in 2016-12-17 21:05:06.000000000 +0100
  2. +++ Python-2.7.13/Makefile.pre.in 2017-03-16 19:38:14.000000000 +0100
  3. @@ -545,7 +545,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.tx
  4. esac; \
  5. $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
  6. _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
  7. - $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
  8. + $(PYTHON_FOR_BUILD) $(srcdir)/setup.py build
  9. # Build static library
  10. # avoid long command lines, same as LIBRARY_OBJS
  11. @@ -1120,28 +1120,6 @@ libinstall: build_all $(srcdir)/Lib/$(PL
  12. $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
  13. $(DESTDIR)$(LIBDEST)/distutils/tests ; \
  14. fi
  15. - PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  16. - $(PYTHON_FOR_BUILD) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
  17. - -d $(LIBDEST) -f \
  18. - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
  19. - $(DESTDIR)$(LIBDEST)
  20. - PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  21. - $(PYTHON_FOR_BUILD) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
  22. - -d $(LIBDEST) -f \
  23. - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
  24. - $(DESTDIR)$(LIBDEST)
  25. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  26. - $(PYTHON_FOR_BUILD) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \
  27. - -d $(LIBDEST)/site-packages -f \
  28. - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
  29. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  30. - $(PYTHON_FOR_BUILD) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
  31. - -d $(LIBDEST)/site-packages -f \
  32. - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
  33. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  34. - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
  35. - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
  36. - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
  37. # Create the PLATDIR source directory, if one wasn't distributed..
  38. $(srcdir)/Lib/$(PLATDIR):