projects
/
platform
/
upstream
/
automake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
078ff40
)
depcomp: avoid potential interferences from the environment
author
Stefano Lattarini
<stefano.lattarini@gmail.com>
Sat, 27 Oct 2012 09:19:22 +0000
(11:19 +0200)
committer
Stefano Lattarini
<stefano.lattarini@gmail.com>
Sat, 27 Oct 2012 09:26:15 +0000
(11:26 +0200)
* lib/depcomp (gccflag, dashmflag): By explicitly initializing these
variables to the empty string by default.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/depcomp
patch
|
blob
|
history
diff --git
a/lib/depcomp
b/lib/depcomp
index
693fe04
..
e1f51f4
100755
(executable)
--- a/
lib/depcomp
+++ b/
lib/depcomp
@@
-74,6
+74,9
@@
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
+# Avoid interferences from the environment.
+gccflag= dashmflag=
+
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case