1313# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1414# PARTICULAR PURPOSE.
1515
16+ UNAME := $(shell uname)
17+
1618@SET_MAKE@
1719VPATH = @srcdir@
1820am__make_dryrun = \
@@ -1230,6 +1232,7 @@ thread_host_headers = \
12301232 ${host_builddir}/gthr-posix.h \
12311233 ${host_builddir}/gthr-default.h
12321234
1235+ ifeq (,$(findstring MSYS,$(UNAME ) ) )
12331236pch1_source = ${glibcxx_srcdir}/include/precompiled/stdc++.h
12341237pch1_output_builddir = ${host_builddir}/stdc++.h.gch
12351238pch1_output_anchor = ${host_builddir}/stdc++.h
@@ -1257,6 +1260,7 @@ pch_output_anchors = \
12571260PCHFLAGS = -x c++-header -nostdinc++ $(CXXFLAGS ) $(VTV_PCH_CXXFLAGS )
12581261@GLIBCXX_BUILD_PCH_FALSE@pch_build =
12591262@GLIBCXX_BUILD_PCH_TRUE@pch_build = ${pch_output}
1263+ endif
12601264
12611265# List of all timestamp files. By keeping only one copy of this list, both
12621266# CLEANFILES and all-local are kept up-to-date.
@@ -1713,6 +1717,7 @@ ${host_builddir}/gthr-default.h: ${toplevel_srcdir}/libgcc/${thread_header} \
17131717 -e ' s,^#include "\(.*\)",#include <bits/\1>,g' \
17141718 < $< > $@
17151719
1720+ ifeq (,$(findstring MSYS,$(UNAME ) ) )
17161721# Build two precompiled C++ includes, stdc++.h.gch/*.gch
17171722${pch1a_output} : ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
17181723 -mkdir -p ${pch1_output_builddir}
@@ -1732,6 +1737,7 @@ ${pch2_output}: ${pch2_source} ${pch1_output}
17321737${pch3_output} : ${pch3_source} ${pch2_output}
17331738 -mkdir -p ${pch3_output_builddir}
17341739 $(CXX ) $(PCHFLAGS ) $(AM_CPPFLAGS ) -O2 -g ${pch3_source} -o $@
1740+ endif
17351741
17361742# For robustness sake (in light of junk files or in-source
17371743# configuration), copy from the build or source tree to the install
@@ -1859,9 +1865,14 @@ install-headers:
18591865 for file in ${ext_host_headers} ; do \
18601866 $(INSTALL_DATA ) $$ {file} $(DESTDIR ) ${host_installdir} /../ext; done
18611867
1868+ ifeq (,$(findstring MSYS,$(UNAME ) ) )
18621869# To remove directories.
18631870clean-local :
18641871 rm -rf ${pch_output_dirs}
1872+ else
1873+ clean-local :
1874+ echo nada
1875+ endif
18651876
18661877# Stop implicit '.o' make rules from ever stomping on extensionless
18671878# headers, in the improbable case where some foolish, crack-addled
0 commit comments