summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2000-10-18 11:35:51 +0000
committerBrad Smith <brad@cvs.openbsd.org>2000-10-18 11:35:51 +0000
commit9cf461f1e2346fc70db13df4309e108f65671819 (patch)
treefcbad48601ff2c43b7f32d464b754a811a550ec6 /share/mk
parent89af3d6efb67321a6e69791d9dd37380992f1b3f (diff)
hardcoded "gcc" -> ${CC}; ok espie@
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.lib.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 1a29373fc46..ee8c16726da 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lib.mk,v 1.26 2000/10/09 15:50:31 espie Exp $
+# $OpenBSD: bsd.lib.mk,v 1.27 2000/10/18 11:35:50 brad 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
@@ -173,14 +173,14 @@ lib${LIB}_pic.a:: ${SOBJS}
lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: ${OBJS} ${DPADD}
@echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)
@rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
- gcc -shared ${PICFLAG} -Wl,-soname,lib${LIB}.so.${SHLIB_MAJOR} \
+ ${CC} -shared ${PICFLAG} -Wl,-soname,lib${LIB}.so.${SHLIB_MAJOR} \
-o lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
`${LORDER} ${OBJS}|tsort -q` ${LDADD}
.else
lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: ${SOBJS} ${DPADD}
@echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)
@rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
- gcc -shared ${PICFLAG} \
+ ${CC} -shared ${PICFLAG} \
-o lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
`${LORDER} ${SOBJS}|tsort -q` ${LDADD}
.endif