summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.lib.mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-06-18 03:39:34 +0000
committerasami <asami@FreeBSD.org>1997-06-18 03:39:34 +0000
commitafb7547b1d249b68744bfbd3888d2af97dc45b72 (patch)
tree45b8162115574eb1612c5105b668d249c93ffeca /share/mk/bsd.lib.mk
parenta5a15a3d86b998f9f3deb147ad431fde8f2bb1c5 (diff)
downloadFreeBSD-src-afb7547b1d249b68744bfbd3888d2af97dc45b72.zip
FreeBSD-src-afb7547b1d249b68744bfbd3888d2af97dc45b72.tar.gz
Add `B' to list of flags to pass through from C*FLAGS when using mkdep
(bsd.dep.mk) and compiling assembly language sources (bsd.lib.mk). This doesn't change anything for our current source tree, but if you want to use the -B switch in C*FLAGS to specify the location of compiler subprograms, now you can do it. Reviewed by: bde (implicitly)
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r--share/mk/bsd.lib.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index c386124..4917efd 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
-# $Id: bsd.lib.mk,v 1.56 1997/05/23 08:38:46 asami Exp $
+# $Id: bsd.lib.mk,v 1.57 1997/05/23 17:50:35 dfr Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@@ -70,30 +70,30 @@ STRIP?= -s
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.s.o:
- ${CC} -x assembler-with-cpp ${CFLAGS:M-[ID]*} ${AINC} -c \
+ ${CC} -x assembler-with-cpp ${CFLAGS:M-[BID]*} ${AINC} -c \
${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.s.po:
- ${CC} -x assembler-with-cpp -DPROF ${CFLAGS:M-[ID]*} ${AINC} -c \
+ ${CC} -x assembler-with-cpp -DPROF ${CFLAGS:M-[BID]*} ${AINC} -c \
${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -X -r ${.TARGET}
.s.so:
- ${CC} -x assembler-with-cpp -fpic -DPIC ${CFLAGS:M-[ID]*} ${AINC} -c \
+ ${CC} -x assembler-with-cpp -fpic -DPIC ${CFLAGS:M-[BID]*} ${AINC} -c \
${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.S.o:
- ${CC} ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
+ ${CC} ${CFLAGS:M-[BID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.S.po:
- ${CC} -DPROF ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
+ ${CC} -DPROF ${CFLAGS:M-[BID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -X -r ${.TARGET}
.S.so:
- ${CC} -fpic -DPIC ${CFLAGS:M-[ID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
+ ${CC} -fpic -DPIC ${CFLAGS:M-[BID]*} ${AINC} -c ${.IMPSRC} -o ${.TARGET}
@${LD} -O ${.TARGET} -x -r ${.TARGET}
.m.o:
OpenPOWER on IntegriCloud