1
0

patch-Makefile 753 B

12345678910111213141516171819202122232425262728293031323334
  1. --- bzip2-1.0.5.orig/Makefile 2008-02-14 13:39:18.000000000 +0100
  2. +++ bzip2-1.0.5/Makefile 2009-08-23 20:18:12.000000000 +0200
  3. @@ -15,16 +15,16 @@
  4. SHELL=/bin/sh
  5. # To assist in cross-compiling
  6. -CC=gcc
  7. -AR=ar
  8. -RANLIB=ranlib
  9. -LDFLAGS=
  10. +CC?=gcc
  11. +AR?=ar
  12. +RANLIB?=ranlib
  13. +LDFLAGS?=
  14. BIGFILES=-D_FILE_OFFSET_BITS=64
  15. -CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
  16. +CFLAGS?=-Wall -Winline -O2 -g $(BIGFILES)
  17. # Where you want it installed when you do 'make install'
  18. -PREFIX=/usr/local
  19. +PREFIX?=/usr
  20. OBJS= blocksort.o \
  21. @@ -35,7 +35,7 @@ OBJS= blocksort.o \
  22. decompress.o \
  23. bzlib.o
  24. -all: libbz2.a bzip2 bzip2recover test
  25. +all: libbz2.a bzip2 bzip2recover
  26. bzip2: libbz2.a bzip2.o
  27. $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2