aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.7.2/010-documentation.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-02-26 16:16:33 +0000
committerLuka Perkov <luka@openwrt.org>2013-02-26 16:16:33 +0000
commit098bd91f5eae625c7d2ee621e10930fc4434e5e2 (patch)
tree38d69d46d159197dbc675b0ec4b0e69760b7dbb0 /toolchain/gcc/patches/4.7.2/010-documentation.patch
parent325cb65009b894184c8f45dc7a126e5b22ddf5e3 (diff)
downloadupstream-098bd91f5eae625c7d2ee621e10930fc4434e5e2.tar.gz
upstream-098bd91f5eae625c7d2ee621e10930fc4434e5e2.tar.bz2
upstream-098bd91f5eae625c7d2ee621e10930fc4434e5e2.zip
gcc: don't build documentation
This closes #13039. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 35807
Diffstat (limited to 'toolchain/gcc/patches/4.7.2/010-documentation.patch')
-rw-r--r--toolchain/gcc/patches/4.7.2/010-documentation.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.7.2/010-documentation.patch b/toolchain/gcc/patches/4.7.2/010-documentation.patch
new file mode 100644
index 0000000000..4b2286b178
--- /dev/null
+++ b/toolchain/gcc/patches/4.7.2/010-documentation.patch
@@ -0,0 +1,23 @@
+--- a/gcc/Makefile.in
++++ b/gcc/Makefile.in
+@@ -4301,18 +4301,10 @@
+ doc/gccint.info: $(TEXI_GCCINT_FILES)
+ doc/cppinternals.info: $(TEXI_CPPINT_FILES)
+
+-doc/%.info: %.texi
+- if [ x$(BUILD_INFO) = xinfo ]; then \
+- $(MAKEINFO) $(MAKEINFOFLAGS) -I . -I $(gcc_docdir) \
+- -I $(gcc_docdir)/include -o $@ $<; \
+- fi
++doc/%.info:
+
+ # Duplicate entry to handle renaming of gccinstall.info
+-doc/gccinstall.info: $(TEXI_GCCINSTALL_FILES)
+- if [ x$(BUILD_INFO) = xinfo ]; then \
+- $(MAKEINFO) $(MAKEINFOFLAGS) -I $(gcc_docdir) \
+- -I $(gcc_docdir)/include -o $@ $<; \
+- fi
++doc/gccinstall.info:
+
+ doc/cpp.dvi: $(TEXI_CPP_FILES)
+ doc/gcc.dvi: $(TEXI_GCC_FILES)