mingw: Remove obsolete STMP_FIXINC override from t-cygming

Message ID 20260404012956.31845-2-peter0x44@disroot.org
State Committed
Commit 7fb73dd7bb8aabab1416f0b28e6df45131a8e8ab
Headers
Series mingw: Remove obsolete STMP_FIXINC override from t-cygming |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_gcc_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 success Test passed

Commit Message

Peter Damianov April 4, 2026, 1:29 a.m. UTC
  The STMP_FIXINC assignment in t-cygming dates back to
r0-48723-g70e5e841b8b931, which introduced the shared cygwin/mingw
makefile fragment and used it to force fixincludes on for those
targets.

That predates r0-63200-g53c7ffe7dd1c28, which made configure default
STMP_FIXINC to stmp-fixinc, so the t-cygming assignment is now
redundant in normal builds.  Once --disable-fixincludes was added by
r13-2319-gbe9dd80f933480, the old override became incorrect as well,
because it forced stmp-fixinc back on for targets using t-cygming.
Configuring for mingw targets with --disable-fixincludes would then
fail with:

make[1]: No rule to make target
'../build-x86_64-pc-linux-gnu/fixincludes/fixinc.sh', needed by 'stmp-fixinc'.
Stop.

Remove the obsolete assignment so the configure-time default is used,
including when honoring an explicit --disable-fixincludes.

gcc/ChangeLog:

	* config/mingw/t-cygming: Remove obsolete STMP_FIXINC
	override.
---

Tested on x86_64-w64-mingw32

 gcc/config/mingw/t-cygming | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/gcc/config/mingw/t-cygming b/gcc/config/mingw/t-cygming
index be3323d143a..4d0f99797c3 100644
--- a/gcc/config/mingw/t-cygming
+++ b/gcc/config/mingw/t-cygming
@@ -61,5 +61,3 @@  msformat-c.o: $(srcdir)/config/mingw/msformat-c.cc $(CONFIG_H) $(SYSTEM_H) \
   $(TM_P_H) $(HASHTAB_H) $(GGC_H)
 	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
 	$(srcdir)/config/mingw/msformat-c.cc
-
-STMP_FIXINC=stmp-fixinc