diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-24 21:43:54 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-24 21:43:54 +0200 |
commit | e4dbe84c912c159c26e3d2aae013b562bef2aacb (patch) | |
tree | f66b5ef97815681a48d812d85990a45c76a6fe7b /package/bzip2/patches/patch-Makefile | |
parent | 23e555f88fff92f46957653b095a430ace5526f6 (diff) | |
parent | e74eccf3fa0585abfbe52154646812d20f2560a2 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/bzip2/patches/patch-Makefile')
-rw-r--r-- | package/bzip2/patches/patch-Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/bzip2/patches/patch-Makefile b/package/bzip2/patches/patch-Makefile new file mode 100644 index 000000000..0d15eab68 --- /dev/null +++ b/package/bzip2/patches/patch-Makefile @@ -0,0 +1,34 @@ +--- bzip2-1.0.5.orig/Makefile 2008-02-14 13:39:18.000000000 +0100 ++++ bzip2-1.0.5/Makefile 2009-08-23 20:18:12.000000000 +0200 +@@ -15,16 +15,16 @@ + SHELL=/bin/sh + + # To assist in cross-compiling +-CC=gcc +-AR=ar +-RANLIB=ranlib +-LDFLAGS= ++CC?=gcc ++AR?=ar ++RANLIB?=ranlib ++LDFLAGS?= + + BIGFILES=-D_FILE_OFFSET_BITS=64 +-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES) ++CFLAGS?=-Wall -Winline -O2 -g $(BIGFILES) + + # Where you want it installed when you do 'make install' +-PREFIX=/usr/local ++PREFIX?=/usr + + + OBJS= blocksort.o \ +@@ -35,7 +35,7 @@ OBJS= blocksort.o \ + decompress.o \ + bzlib.o + +-all: libbz2.a bzip2 bzip2recover test ++all: libbz2.a bzip2 bzip2recover + + bzip2: libbz2.a bzip2.o + $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2 |