mirror of
https://github.com/qemu/qemu.git
synced 2024-12-01 07:43:35 +08:00
tests/docker: add sanitizers back to clang build
Fedora23 is but a distant twinkle. The sanitizer works again, and even if not, we have --enable-sanitizers now. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20190912014442.5757-1-jsnow@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
2762f04d50
commit
47c823e5be
@ -17,11 +17,7 @@ requires clang
|
|||||||
|
|
||||||
cd "$BUILD_DIR"
|
cd "$BUILD_DIR"
|
||||||
|
|
||||||
OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
|
OPTS="--cxx=clang++ --cc=clang --host-cc=clang --enable-sanitizers"
|
||||||
# -fsanitize=undefined is broken on Fedora 23, skip it for now
|
|
||||||
# See also: https://bugzilla.redhat.com/show_bug.cgi?id=1263834
|
|
||||||
#OPTS="$OPTS --extra-cflags=-fsanitize=undefined \
|
|
||||||
#--extra-cflags=-fno-sanitize=float-divide-by-zero"
|
|
||||||
build_qemu $OPTS
|
build_qemu $OPTS
|
||||||
check_qemu
|
check_qemu
|
||||||
install_qemu
|
install_qemu
|
||||||
|
Loading…
Reference in New Issue
Block a user