gcc12/gcc12-d-workaround.patch
Richard Biener 268118deec Accepting request 958315 from devel:gcc:next
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.

OBS-URL: https://build.opensuse.org/request/show/958315
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc12?expand=0&rev=18
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)