gcc12/gcc12-d-workaround.patch
OBS User rguenther 129d6a4ea1 - Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.

Rev devel:gcc/18 Md5 52affbe56ce4936854bf5fa4776583c8 2022-03-01 16:24:44 rguenther 958315
2022-03-01 16:24:44 +00:00

29 lines
975 B
Diff

gcc/d/Make-lang.in | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in
index 6c90657d65f..41ca2566eb4 100644
--- a/gcc/d/Make-lang.in
+++ b/gcc/d/Make-lang.in
@@ -62,7 +62,6 @@ ALL_DFLAGS = $(DFLAGS-$@) $(GDCFLAGS) -fversion=IN_GCC $(CHECKING_DFLAGS) \
DCOMPILE.base = $(GDC) $(NO_PIE_CFLAGS) -c $(ALL_DFLAGS) -o $@
DCOMPILE = $(DCOMPILE.base) -MT $@ -MMD -MP -MF $(@D)/$(DEPDIR)/$(*F).TPo
-DPOSTCOMPILE = @mv $(@D)/$(DEPDIR)/$(*F).TPo $(@D)/$(DEPDIR)/$(*F).Po
DLINKER = $(GDC) $(NO_PIE_FLAG) -lstdc++
# Like LINKER, but use a mutex for serializing front end links.
@@ -396,12 +395,9 @@ D_INCLUDES = -I$(srcdir)/d -J$(srcdir)/d/dmd -J$(srcdir)/d/dmd/res
# Override build rules for D frontend.
d/%.o: d/dmd/%.d
$(DCOMPILE) $(D_INCLUDES) $<
- $(DPOSTCOMPILE)
d/common-%.o: d/dmd/common/%.d
$(DCOMPILE) $(D_INCLUDES) $<
- $(DPOSTCOMPILE)
d/root-%.o: d/dmd/root/%.d
$(DCOMPILE) $(D_INCLUDES) $<
- $(DPOSTCOMPILE)