summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-01-27 14:24:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-01-27 14:25:06 +0100
commit67bd7a225565258984850194e104df416d3689c9 (patch)
tree9a04dac328f185a3871d8afa603e605f39a7f7be /toolchain/gcc/patches
parentc70697b90ed4dd5dcfb92cb2b5411bcfef6e4a74 (diff)
another hack to disable docs in old gcc
Diffstat (limited to 'toolchain/gcc/patches')
-rw-r--r--toolchain/gcc/patches/4.2.4/disable-docs.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.2.4/disable-docs.patch b/toolchain/gcc/patches/4.2.4/disable-docs.patch
new file mode 100644
index 000000000..1eaa575bd
--- /dev/null
+++ b/toolchain/gcc/patches/4.2.4/disable-docs.patch
@@ -0,0 +1,55 @@
+diff -Nur gcc-4.2.4.orig/gcc/Makefile.in gcc-4.2.4/gcc/Makefile.in
+--- gcc-4.2.4.orig/gcc/Makefile.in 2008-04-01 23:26:19.000000000 +0200
++++ gcc-4.2.4/gcc/Makefile.in 2016-01-27 14:05:33.553925680 +0100
+@@ -3360,39 +3360,23 @@
+ #
+ # Remake the info files.
+
+-doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
++doc:
+
+-INFOFILES = doc/cpp.info doc/gcc.info doc/gccint.info \
+- doc/gccinstall.info doc/cppinternals.info
++INFOFILES =
+
+-info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo
++info:
+
+-srcinfo: $(INFOFILES)
+- -cp -p $^ $(srcdir)/doc
+-
+-TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi \
+- gcc-common.texi gcc-vers.texi
+-
+-TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
+- standards.texi invoke.texi extend.texi md.texi objc.texi \
+- gcov.texi trouble.texi bugreport.texi service.texi \
+- contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \
+- fdl.texi contrib.texi cppenv.texi cppopts.texi \
+- implement-c.texi
+-
+-TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi \
+- contribute.texi makefile.texi configterms.texi options.texi \
+- portability.texi interface.texi passes.texi c-tree.texi \
+- rtl.texi md.texi tm.texi hostconfig.texi fragments.texi \
+- configfiles.texi collect2.texi headerdirs.texi funding.texi \
+- gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \
+- sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \
+- loop.texi
++srcinfo:
+
+-TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \
+- gcc-common.texi gcc-vers.texi
++TEXI_CPP_FILES =
+
+-TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
++TEXI_GCC_FILES =
++
++TEXI_GCCINT_FILES =
++
++TEXI_GCCINSTALL_FILES =
++
++TEXI_CPPINT_FILES =
+
+ # gcc-vers.texi is generated from the version files.
+ gcc-vers.texi: $(BASEVER) $(DEVPHASE)