From 40ffb56019d5fc9ee21237b3bed78d8dc745c2c8 Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <komh@chollian.net>
Date: Sat, 26 May 2012 12:50:47 +0900
Subject: [PATCH 1/1] OS/2: Append $(exeext) to fixincl target
This fixes the problem that build process stops due to trying to generate
fixincl even though fixincl.exe was already made.
---
gcc/Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 8f93bfb..8759fd4 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2721,13 +2721,13 @@ s-fixinc_list : $(GCC_PASSES)
# Because of CCACHE_HARDLINK, this will also update the timestamp in
# the build tree, and so fixincl in the build tree will appear to be
# out of date. Yuck.
-../$(build_subdir)/fixincludes/fixincl: ; @ :
+../$(build_subdir)/fixincludes/fixincl$(exeext): ; @ :
# Build fixed copies of system files.
# Abort if no system headers available, unless building a crosscompiler.
# FIXME: abort unless building --without-headers would be more accurate and less ugly
stmp-fixinc: gsyslimits.h macro_list fixinc_list \
- $(build_objdir)/fixincludes/fixincl \
+ $(build_objdir)/fixincludes/fixincl$(exeext) \
$(build_objdir)/fixincludes/fixinc.sh
rm -rf include-fixed; mkdir include-fixed
-chmod a+rx include-fixed
--
1.9.5
-----
Here is the patch.