summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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