From 91f9bb6d87d203ce7eede6cd49aa8a9d96e40281 Mon Sep 17 00:00:00 2001
From: Niklas Hallqvist <niklas@cvs.openbsd.org>
Date: Sat, 25 Jan 1997 14:27:46 +0000
Subject: Use ${CC:-cc} instead of cc

---
 usr.bin/mkdep/mkdep.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'usr.bin/mkdep/mkdep.sh')

diff --git a/usr.bin/mkdep/mkdep.sh b/usr.bin/mkdep/mkdep.sh
index 0536c8aa2fc..488c4ecb841 100644
--- a/usr.bin/mkdep/mkdep.sh
+++ b/usr.bin/mkdep/mkdep.sh
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$OpenBSD: mkdep.sh,v 1.5 1997/01/25 08:47:58 deraadt Exp $
+#	$OpenBSD: mkdep.sh,v 1.6 1997/01/25 14:27:44 niklas Exp $
 #	$NetBSD: mkdep.sh,v 1.3 1994/12/23 07:35:02 jtc Exp $
 #
 # Copyright (c) 1991, 1993
@@ -79,7 +79,7 @@ fi
 umask $um
 trap 'rm -rf $DTMP ; exit 1' 1 2 3 13 15
 
-cc -M $* |
+${CC:-cc} -M $* |
 sed "
 	s; \./; ;g
 	/\.c:$/d
-- 
cgit v1.2.3