summaryrefslogtreecommitdiff
path: root/source/d/gcc/patches/gcc-no_fixincludes.diff
blob: e152e0821e9f42b9b28289cb112ce9284f34c021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- ./gcc/Makefile.in.orig	2018-03-09 09:24:44.000000000 -0600
+++ ./gcc/Makefile.in	2018-05-02 12:25:43.958002771 -0500
@@ -3004,9 +3004,9 @@
 	  chmod a+r $${fix_dir}/limits.h; \
 	done
 # Install the README
-	rm -f include-fixed/README
-	cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
-	chmod a+r include-fixed/README
+#	rm -f include-fixed/README
+#	cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
+#	chmod a+r include-fixed/README
 	$(STAMP) $@
 
 .PHONY: install-gcc-tooldir
@@ -3087,10 +3087,7 @@
 	    (TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
 	      SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
 	      gcc_dir=`${PWD_COMMAND}` ; \
-	      export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
-	      cd $(build_objdir)/fixincludes && \
-	      $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
-	        $(BUILD_SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
+	      export TARGET_MACHINE srcdir SHELL MACRO_LIST ); \
 	    rm -f $${fix_dir}/syslimits.h; \
 	    if [ -f $${fix_dir}/limits.h ]; then \
 	      mv $${fix_dir}/limits.h $${fix_dir}/syslimits.h; \