logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

undefs.patch (604B)


  1. SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
  2. SPDX-License-Identifier: Python-2.0.1
  3. Python 2.0.1's Makefile does not support custom CFLAGS for some
  4. reason, so we have to patch our __DATE__ __TIME__ undefs in.
  5. --- Python-2.0.1/Makefile.in 2022-12-23 18:33:56.486325025 +1100
  6. +++ Python-2.0.1/Makefile.in 2022-12-23 18:46:05.910387214 +1100
  7. @@ -127,7 +127,7 @@
  8. DIST= $(DISTFILES) $(DISTDIRS)
  9. # Compilation flags for getbuildinfo.c only
  10. -CFLAGS= $(OPT) -I. $(DEFS)
  11. +CFLAGS= $(OPT) -I. $(DEFS) -U__DATE__ -U__TIME__
  12. LIBRARY= libpython$(VERSION).a
  13. LDLIBRARY= @LDLIBRARY@