[PATCH 2/4] gcc: Disable makeinfo cause newer versions do not build gcc-4.8 docs.

Chris Johns chrisj at rtems.org
Tue Aug 8 23:39:32 UTC 2017


Newer makeinfo tools cannot build the existing texinfo in gcc so
disable building it. This will not be fixed on the gcc branch.

Updates #3027.
---
 rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg | 2 ++
 source-builder/config/gcc-common-1.cfg              | 1 +
 2 files changed, 3 insertions(+)

diff --git a/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg b/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
index 875dc5c..34af586 100644
--- a/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
@@ -21,6 +21,8 @@
 %define with_threads 1
 %define with_plugin  0
 
+%define disable_MAKEINFO 1
+
 %ifn %{defined with_iconv}
  %define with_iconv 1
 %endif
diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg
index a07e844..c04c243 100644
--- a/source-builder/config/gcc-common-1.cfg
+++ b/source-builder/config/gcc-common-1.cfg
@@ -151,6 +151,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
     --enable-version-specific-runtime-libs \
     %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
     --enable-newlib-io-c99-formats \
+    %{?disable_MAKEINFO:MAKEINFO=missing} \
     %{?with_iconv:--enable-newlib-iconv} \
     %{?with_iconv:--enable-newlib-iconv-encodings=%{_newlib_iconv_encodings}} \
     %{?with_threads:--enable-threads}%{!?with_threads:--disable-threads} \
-- 
2.13.2




More information about the devel mailing list