]> git.pld-linux.org Git - packages/lbzip2.git/blob - lbzip2-makefile.patch
- up to 2.5
[packages/lbzip2.git] / lbzip2-makefile.patch
1 --- Makefile.orig       2009-04-06 01:39:43.000000000 +0200
2 +++ Makefile    2009-04-06 01:40:21.000000000 +0200
3 @@ -2,14 +2,15 @@
4  .POSIX:
5  
6  CC=gcc
7 +OPTFLAGS=-O2
8  CFLAGS=$$($(SHELL) lfs.sh CFLAGS) -D _XOPEN_SOURCE=500 -pipe -ansi -pedantic \
9 -    -O2
10 +    $(OPTFLAGS)
11  
12  
13  
14  
15 -LDFLAGS=-s $$($(SHELL) lfs.sh LDFLAGS)
16 -LIBS=-l pthread -l bz2 $$($(SHELL) lfs.sh LIBS)
17 +LDFLAGS=$$($(SHELL) lfs.sh LDFLAGS)
18 +LIBS=-lpthread -lbz2 $$($(SHELL) lfs.sh LIBS)
19  
20  lbzip2: main.o lbzip2.o lbunzip2.o lbunzip2_single.o lacos_rbtree.o
21         $(CC) -o lbzip2 $(LDFLAGS) main.o lbzip2.o lbunzip2.o \
This page took 0.053891 seconds and 3 git commands to generate.