diff --git a/dkarm-eabi/patches/gdb-7.4.patch b/dkarm-eabi/patches/gdb-7.4.patch index f2e5af9..986d05d 100644 --- a/dkarm-eabi/patches/gdb-7.4.patch +++ b/dkarm-eabi/patches/gdb-7.4.patch @@ -1,6 +1,6 @@ diff -Nbaur gdb-7.4/gdb/Makefile.in gdb-7.4-arm/gdb/Makefile.in --- gdb-7.4/gdb/Makefile.in 2012-01-06 04:43:01.000000000 +0000 -+++ gdb-7.4-arm/gdb/Makefile.in 2012-01-28 15:56:00.000000000 +0000 ++++ gdb-7.4-arm/gdb/Makefile.in 2012-02-28 03:07:12.000000000 +0000 @@ -2195,10 +2195,10 @@ # Note that we put the dependencies into a .Tpo file, then move them # into place if the compile succeeds. We need this because gcc does @@ -16,3 +16,18 @@ diff -Nbaur gdb-7.4/gdb/Makefile.in gdb-7.4-arm/gdb/Makefile.in @GMAKE_TRUE@else @GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \ @GMAKE_TRUE@ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC) +diff -Nbaur gdb-7.4/sim/common/Make-common.in gdb-7.4-arm/sim/common/Make-common.in +--- gdb-7.4/sim/common/Make-common.in 2012-01-06 04:54:38.000000000 +0000 ++++ gdb-7.4-arm/sim/common/Make-common.in 2012-02-28 03:07:41.000000000 +0000 +@@ -417,10 +417,7 @@ + # Note that we put the dependencies into a .Tpo file, then move them + # into place if the compile succeeds. We need this because gcc does + # not atomically write the dependency output file. +-@GMAKE_TRUE@override COMPILE.post = -c -o $@ -MT $@ -MMD -MP \ +-@GMAKE_TRUE@ -MF $(DEPDIR)/$(basename $(@F)).Tpo +-@GMAKE_TRUE@override POSTCOMPILE = @mv $(DEPDIR)/$(basename $(@F)).Tpo \ +-@GMAKE_TRUE@ $(DEPDIR)/$(basename $(@F)).Po ++@GMAKE_TRUE@override COMPILE.post = -c -o $@ + @GMAKE_TRUE@else + @GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \ + @GMAKE_TRUE@ DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC)