diff options
author | bde <bde@FreeBSD.org> | 1997-04-23 18:47:42 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-23 18:47:42 +0000 |
commit | e95e039f7f1a304711b5a9be383f58cb90a84c14 (patch) | |
tree | d9d78635b9591f481932c90afa7a2f745e2b95bf | |
parent | e981db0f57217369065cbfa46ea05b90f560e9ca (diff) | |
download | FreeBSD-src-e95e039f7f1a304711b5a9be383f58cb90a84c14.zip FreeBSD-src-e95e039f7f1a304711b5a9be383f58cb90a84c14.tar.gz |
Pass everything in ${LDADD} directly to the linker for `make depend'
to prevent complaints from the compiler about nonexistent libraries.
-rw-r--r-- | share/mk/bsd.prog.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index c89ffbb..36291f4 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.prog.mk,v 1.47 1997/04/13 06:44:23 jkh Exp $ +# $Id: bsd.prog.mk,v 1.48 1997/04/19 14:36:49 bde Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -71,7 +71,7 @@ clean: _SUBDIR .if defined(PROG) _EXTRADEPEND: echo ${PROG}: `${CC} -Wl,-f ${CFLAGS} ${LDFLAGS} ${LDDESTDIR} \ - ${LDADD}` >> ${DEPENDFILE} + ${LDADD:S/^/-Wl,/}` >> ${DEPENDFILE} .endif .if !target(install) |