summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/ar
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-04-11 18:02:10 +0000
committerru <ru@FreeBSD.org>2003-04-11 18:02:10 +0000
commite97478a53532e94e30496284b29e8c7af0cfb82a (patch)
tree982085d64c23e827d707915328d26d563ff0b8b5 /gnu/usr.bin/binutils/ar
parent18679452c0c49cdecb3e867764c6c608bc286677 (diff)
downloadFreeBSD-src-e97478a53532e94e30496284b29e8c7af0cfb82a.zip
FreeBSD-src-e97478a53532e94e30496284b29e8c7af0cfb82a.tar.gz
libbinutils.a needs basename(3); when the latter is provided
by -legacy, liblegacy.a should come last in the LDADD list.
Diffstat (limited to 'gnu/usr.bin/binutils/ar')
-rw-r--r--gnu/usr.bin/binutils/ar/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/ar/Makefile b/gnu/usr.bin/binutils/ar/Makefile
index d1e6493..8faeb8a4 100644
--- a/gnu/usr.bin/binutils/ar/Makefile
+++ b/gnu/usr.bin/binutils/ar/Makefile
@@ -10,9 +10,10 @@ CFLAGS+= -I${.CURDIR}/${RELTOP}/libbinutils
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
NOSHARED?= yes
-DPADD= ${RELTOP}/libbinutils/libbinutils.a
-DPADD+= ${RELTOP}/libbfd/libbfd.a
-DPADD+= ${RELTOP}/libiberty/libiberty.a
+DPADD:= ${RELTOP}/libbinutils/libbinutils.a \
+ ${RELTOP}/libbfd/libbfd.a \
+ ${RELTOP}/libiberty/libiberty.a \
+ ${DPADD}
LDADD= ${DPADD}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud