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.
This commit is contained in:
Jonathan Wakely 2021-04-08 14:48:23 +01:00
parent 2c1557ac7b
commit acbbb82ea3

View File

@ -43,7 +43,7 @@ do
[ $dir == 'libstdc++-v3' ] || disabled_libs="$disabled_libs --disable-$dir" [ $dir == 'libstdc++-v3' ] || disabled_libs="$disabled_libs --disable-$dir"
done done
set -x 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` eval `grep '^target=' config.log`
make configure-target make configure-target
# If the following step fails with an error like # If the following step fails with an error like