diff options
author | kaiw <kaiw@FreeBSD.org> | 2010-05-17 09:37:59 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2010-05-17 09:37:59 +0000 |
commit | e87f2d48bc38fef35b49a5ba9f33703473cee54a (patch) | |
tree | c1fbbf0def71cdcf6cf8e4112b0f5d65cb69f755 /usr.bin/ar/Makefile | |
parent | bd4ac448d72b03f76644e769f11ee45445c8ead7 (diff) | |
download | FreeBSD-src-e87f2d48bc38fef35b49a5ba9f33703473cee54a.zip FreeBSD-src-e87f2d48bc38fef35b49a5ba9f33703473cee54a.tar.gz |
Removed ar(1)'s support for compressed archives. This change removes
ar(1)'s dependencies on compressor libraries -lz, -lbz2 and -llzma and
fixes building HEAD on some versions of FreeBSD[78]. Option -j and -z
is now accepted but ignored.
Compressed ar(1) archives are not useful without a ld(1) that can read
them. Also, the current ar(1) compression scheme prevents random
access of archive members and needs to be redesigned anyway.
Submitted by: kientzle (original patch)
Reviewed by: delphij
Discussed on: -current mailing list
Diffstat (limited to 'usr.bin/ar/Makefile')
-rw-r--r-- | usr.bin/ar/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ar/Makefile b/usr.bin/ar/Makefile index 57ff447..e373120 100644 --- a/usr.bin/ar/Makefile +++ b/usr.bin/ar/Makefile @@ -3,8 +3,8 @@ PROG= ar SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h -DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBLZMA} ${LIBELF} -LDADD= -larchive -lbz2 -lz -llzma -lelf +DPADD= ${LIBARCHIVE} ${LIBELF} +LDADD= -larchive -lelf CFLAGS+=-I. -I${.CURDIR} |