From 54306601ff927ad6f1465cea918b91ff4ceffa08 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 9 Jan 2002 21:17:41 +0000 Subject: [PATCH] 2002-01-09 Ryan T. Sammartino * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options. --- ChangeLog | 4 ++++ THANKS | 1 + lib/depcomp | 15 +++++++++++++++ 3 files changed, 20 insertions(+) diff --git a/ChangeLog b/ChangeLog index 57054381..671b5fc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-01-09 Ryan T. Sammartino + + * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options. + 2002-01-09 Alexandre Duret-Lutz * automake.in (file_contents_internal): Introduce two variables, diff --git a/THANKS b/THANKS index fc409165..32f30f33 100644 --- a/THANKS +++ b/THANKS @@ -149,6 +149,7 @@ Robert Bihlmeyer robbe@orcus.priv.at Robert Boehne rboehne@ricardo-us.com Robert Collins robert.collins@itdomain.com.au Rusty Ballinger rusty@rlyeh.engr.sgi.com +Ryan T. Sammartino ryants@shaw.ca Sergey Vlasov vsu@mivlgu.murom.ru Seth Alves alves@hungry.com Shuhei Amakawa diff --git a/lib/depcomp b/lib/depcomp index 4c8d44bd..9ab71e2f 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -383,6 +383,21 @@ msvisualcpp) done ;; esac + for arg + do + case "$arg" in + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" ) & -- 2.43.5