This allows the docs to be generated on hosts without the necessary
files present for multilib support.

maintainer-scripts/ChangeLog:

        * generate_libstdcxx_web_docs: Add --disable-multilib to
        configure command.

Tested x86_64-linux. Committed to trunk.

commit acbbb82ea3e2ae145e59ffca6f1ec0699b5f7383
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Apr 8 14:48:23 2021

    maintainer-scripts: Disable multilib when generating libstdc++ docs
    
    This allows the docs to be generated on hosts without the necessary
    files present for multilib support.
    
    maintainer-scripts/ChangeLog:
    
            * generate_libstdcxx_web_docs: Add --disable-multilib to
            configure command.

diff --git a/maintainer-scripts/generate_libstdcxx_web_docs 
b/maintainer-scripts/generate_libstdcxx_web_docs
index 74886356bc7..29572172761 100755
--- a/maintainer-scripts/generate_libstdcxx_web_docs
+++ b/maintainer-scripts/generate_libstdcxx_web_docs
@@ -43,7 +43,7 @@ do
   [ $dir == 'libstdc++-v3' ] || disabled_libs="$disabled_libs --disable-$dir"
 done
 set -x
-${SRCDIR}/configure --enable-languages=c,c++ --disable-gcc $disabled_libs 
--docdir=/docs
+${SRCDIR}/configure --enable-languages=c,c++ --disable-gcc --disable-multilib 
$disabled_libs --docdir=/docs
 eval `grep '^target=' config.log`
 make configure-target
 # If the following step fails with an error like

Reply via email to