]> git.ipfire.org Git - thirdparty/qemu.git/commit
configure: Honour --disable-werror for Sphinx
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 11 Apr 2020 18:29:32 +0000 (19:29 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Apr 2020 12:15:40 +0000 (13:15 +0100)
commit516e8b7d4a531b3c71ed77199cc2c8904ccd60b4
tree19a40053843885da76ef889d04141f5c7c7dc2cb
parente5910d42dd7a12c66c3a0b050d5f1d2b00b99ea8
configure: Honour --disable-werror for Sphinx

If we are not making warnings fatal for compilation, make them
non-fatal when building the Sphinx documentation also.  (For instance
Sphinx 3.0 warns about some constructs that older versions were happy
with, which is a build failure if we use the warnings-as-errors
flag.)

This provides a workaround at least for LP:1872113.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200411182934.28678-2-peter.maydell@linaro.org
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Makefile
configure