]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
depcomp: improve comments about tcc support
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 18 Oct 2012 15:42:21 +0000 (17:42 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 24 Nov 2012 14:52:43 +0000 (15:52 +0100)
* lib/depcomp (icc): Here.  See also tcc commit 0394caf7 "Emit spaces
for -MD" and automake commit v1.11-768-gb96263 "depcomp: support tcc
(Tiny C Compiler)".

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/depcomp

index 7b781331bc3c498cba1e9d2e452a09b03522d635..ac74c7af7857bb501f9e944d9e74b56fbf7e38d7 100755 (executable)
@@ -326,7 +326,7 @@ aix)
   ;;
 
 icc)
-  # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
+  # Intel's C compiler and tcc (Tiny C Compiler) understand '-MD -MF file'.
   # However on
   #    $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
   # ICC 7.0 will fill foo.d with something like
@@ -346,6 +346,11 @@ icc)
   # tcc 0.9.26 (FIXME still under development at the moment of writing)
   # will emit a similar output, but also prepend the continuation lines
   # with horizontal tabulation characters.
+  # Or at least, it did before its commit 0394caf7 "Emit spaces for -MD",
+  # which, accordingly to the commit message, was written explicitly to
+  # cater to limitations in the depcomp script.  Limitations we had
+  # removed with automake commit v1.11-768-gb96263 "depcomp: support tcc
+  # (Tiny C Compiler)".  Looks like we are chasing each other tail here ...
   "$@" -MD -MF "$tmpdepfile"
   stat=$?
   if test $stat -ne 0; then