[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {maint} depcomp: avoid potential interferences from the environmen
From: |
Stefano Lattarini |
Subject: |
[FYI] {maint} depcomp: avoid potential interferences from the environment |
Date: |
Sat, 27 Oct 2012 11:47:42 +0200 |
* lib/depcomp (gccflag, dashmflag): By explicitly initializing these
variables to the empty string by default.
Signed-off-by: Stefano Lattarini <address@hidden>
---
lib/depcomp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/depcomp b/lib/depcomp
index 693fe04..e1f51f4 100755
--- 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
--
1.8.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {maint} depcomp: avoid potential interferences from the environment,
Stefano Lattarini <=