aboutsummaryrefslogtreecommitdiff
path: root/package/gcc/gcc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc/gcc.mk')
-rw-r--r--package/gcc/gcc.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 782217fdd5..ccba5e1586 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -96,7 +96,11 @@ HOST_GCC_COMMON_CONF_OPT = \
--disable-libssp \
--disable-multilib \
--with-gmp=$(HOST_DIR)/usr \
- --with-mpfr=$(HOST_DIR)/usr \
+ --with-mpfr=$(HOST_DIR)/usr
+
+# Don't build documentation. It takes up extra space / build time,
+# and sometimes needs specific makeinfo versions to work
+HOST_GCC_COMMON_CONF_ENV = \
MAKEINFO=missing
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810