]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
maintainer-scripts: Disable multilib when generating libstdc++ docs
authorJonathan Wakely <jwakely@redhat.com>
Thu, 8 Apr 2021 13:48:23 +0000 (14:48 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 8 Apr 2021 13:51:03 +0000 (14:51 +0100)
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.

maintainer-scripts/generate_libstdcxx_web_docs

index 74886356bc74f7811eb3d65f279d21bdc7e03a45..295721727613fa9d2f5dfd8366a5bcaf0c754486 100755 (executable)
@@ -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