mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 12:09:35 -05:00
Add $CC_MKDEP_FLAGS to override -M
This commit is contained in:
parent
d66726da21
commit
dd78d8f2d6
1 changed files with 2 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ set -e # exit immediately if any errors occur
|
|||
MAKE=Makefile # default makefile name is "Makefile"
|
||||
NOSLASH="no" # by default, / dependencies are included
|
||||
CC=${CC-cc} # default compiler is cc
|
||||
: ${CC_MKDEP_FLAGS="-M"} # cc -M usually produces dependencies
|
||||
SRCDIR=""
|
||||
SED=cat
|
||||
|
||||
|
|
@ -127,7 +128,7 @@ cat << _EOF_ >> $TMP
|
|||
|
||||
_EOF_
|
||||
|
||||
$CC -M $files | \
|
||||
$CC $CC_MKDEP_FLAGS $files | \
|
||||
sed -e 's; \./; ;g' | \
|
||||
$SED | \
|
||||
awk '
|
||||
|
|
|
|||
Loading…
Reference in a new issue