From f4c8ff106a75cce3399f59cf8e83d640ac883bc6 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 11 Jan 2001 16:39:22 +0000 Subject: [PATCH] * depcomp (case gcc3): Use -MD, not -M. --- ChangeLog | 4 ++++ depcomp | 2 +- lib/depcomp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf3597fc..60cb4dea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-01-11 Tom Tromey + + * depcomp (case gcc3): Use -MD, not -M. + 2001-01-10 Tom Tromey * depcomp: Handle gcc 3. diff --git a/depcomp b/depcomp index 3d5901df..30149973 100755 --- a/depcomp +++ b/depcomp @@ -51,7 +51,7 @@ case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! - if "$@" -MT "$object" -MF "$depfile" -M -MP; then + if "$@" -MT "$object" -MF "$depfile" -MD -MP; then exit $? fi ;; diff --git a/lib/depcomp b/lib/depcomp index 3d5901df..30149973 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -51,7 +51,7 @@ case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! - if "$@" -MT "$object" -MF "$depfile" -M -MP; then + if "$@" -MT "$object" -MF "$depfile" -MD -MP; then exit $? fi ;; -- 2.43.5