diff options
author | Andrew Shadura <andrewsh@debian.org> | 2014-08-22 19:10:20 +0200 |
---|---|---|
committer | Andrew Shadura <andrew@shadura.me> | 2015-07-25 14:44:51 +0200 |
commit | 99305952b2affb1672b6f44834378729c753aab4 (patch) | |
tree | 9eed6368074100ad07b3fd388f3b727468aa615a /custom/prog_mkdep | |
parent | 97598f790fc8cd838e57c8a0cd1c519bc81bceaa (diff) | |
parent | 8d15cbf39b8aa01eaabfa3167e6ce3dc9f9e0af8 (diff) |
Imported Debian patch 0.27.0-1
Diffstat (limited to 'custom/prog_mkdep')
-rwxr-xr-x | custom/prog_mkdep | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/custom/prog_mkdep b/custom/prog_mkdep index cdbea04..c2e1b94 100755 --- a/custom/prog_mkdep +++ b/custom/prog_mkdep @@ -14,13 +14,17 @@ extra_args="$*" pathpart='custom_nbmkdep' . mkc_check_common.sh -#trap "echo $tmpc; rm $tmpc" 0 trap "rm -f $tmpc $tmpo" 0 cat > "$tmpc" <<'EOF' #include <stdio.h> EOF +if test -n "$MKDEP_CC"; then + CC="$MKDEP_CC" + export CC +fi + check_mkdep (){ "$1" -f "$tmpo" $extra_args -I . -I `pwd` "$tmpc" } |