From: Kurt Zeilenga Date: Sun, 6 Jun 1999 17:13:07 +0000 (+0000) Subject: -c xxx overrides CC_MKDEP X-Git-Tag: OPENLDAP_REL_ENG_2_BP~388 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e9b41143440e740f07ca4e6d6bafc49e5b733e8b;p=openldap -c xxx overrides CC_MKDEP --- diff --git a/build/mkdep b/build/mkdep index 38f8500e44..53ef2a049f 100755 --- a/build/mkdep +++ b/build/mkdep @@ -32,8 +32,8 @@ NOSLASH="no" # by default, / dependencies are included SRCDIR="" SED=cat -: ${CC=cc} -: ${CC_MKDEP=$CC} +: ${CC=cc} # use cc by default +: ${CC_MKDEP=$CC} # select default compiler to generate dependencies : ${CC_MKDEP_FLAGS="-M"} # cc -M usually produces dependencies while : @@ -53,7 +53,8 @@ while : SRCDIR=$2 shift; shift ;; - # -c allows you to select a compiler to use (default is cc) + # -c allows you to select a compiler to use to generate + # dependencies. Leaves $CC alone. -c) CC_MKDEP=$2 shift; shift ;; @@ -129,7 +130,7 @@ cat << _EOF_ >> $TMP # # files: $* -# command: $CC $CC_MKDEP_FLAGS $files +# command: $CC_MKDEP $CC_MKDEP_FLAGS $files # _EOF_