logo

live-bootstrap

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

coreutils.patch (1192B)


  1. SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
  2. SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
  3. SPDX-License-Identifier: bzip2-1.0.6
  4. Disable all coreutils calls in the Makefile which we do not have at this
  5. point of the bootstrap. ranlib can be unconditionally disabled as we do not
  6. have it either.
  7. diff -r -N -U3 Makefile Makefile
  8. --- bzip2-1.0.8/Makefile 2019-07-13 18:50:05.000000000 +0100
  9. +++ bzip2-1.0.8/Makefile 2021-01-14 15:45:17.558516299 +0000
  10. @@ -21,7 +21,7 @@
  11. LDFLAGS=
  12. BIGFILES=-D_FILE_OFFSET_BITS=64
  13. -CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
  14. +CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) -I .
  15. # Where you want it installed when you do 'make install'
  16. PREFIX=/usr/local
  17. @@ -46,11 +46,6 @@
  18. libbz2.a: $(OBJS)
  19. rm -f libbz2.a
  20. $(AR) cq libbz2.a $(OBJS)
  21. - @if ( test -f $(RANLIB) -o -f /usr/bin/ranlib -o \
  22. - -f /bin/ranlib -o -f /usr/ccs/bin/ranlib ) ; then \
  23. - echo $(RANLIB) libbz2.a ; \
  24. - $(RANLIB) libbz2.a ; \
  25. - fi
  26. check: test
  27. test: bzip2
  28. @@ -114,7 +109,6 @@
  29. sample1.tst sample2.tst sample3.tst
  30. blocksort.o: blocksort.c
  31. - @cat words0
  32. $(CC) $(CFLAGS) -c blocksort.c
  33. huffman.o: huffman.c
  34. $(CC) $(CFLAGS) -c huffman.c