diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-22 09:11:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-22 09:11:33 +0000 |
commit | 4b7ba00d980d59fc0af58c8efd1ad7fd52f7c718 (patch) | |
tree | ce5b2ae69ccfce893feea38ca38221b23e574901 /share | |
parent | e19d6e46677aa4f332ca8d12dc71f706f1ce0488 (diff) |
make COPTS work in bsd.lib.mk too
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.lib.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index bd72758445f..f21b3305494 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lib.mk,v 1.6 1996/05/25 09:03:43 pefo Exp $ +# $OpenBSD: bsd.lib.mk,v 1.7 1996/07/22 09:11:32 deraadt Exp $ # $NetBSD: bsd.lib.mk,v 1.67 1996/01/17 20:39:26 mycroft Exp $ # @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 @@ -83,6 +83,8 @@ SHLIB_MINOR != . ${.CURDIR}/shlib_version ; echo $$minor @${LD} -x -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o +CFLAGS+= ${COPTS} + .if !defined(PICFLAG) && (${MACHINE_ARCH} != "mips") PICFLAG=-fpic .endif |