47c823e5be
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>
24 lines
445 B
Bash
Executable File
24 lines
445 B
Bash
Executable File
#!/bin/bash -e
|
|
#
|
|
# Compile and check with clang.
|
|
#
|
|
# Copyright (c) 2016 Red Hat Inc.
|
|
#
|
|
# Authors:
|
|
# Fam Zheng <famz@redhat.com>
|
|
#
|
|
# This work is licensed under the terms of the GNU GPL, version 2
|
|
# or (at your option) any later version. See the COPYING file in
|
|
# the top-level directory.
|
|
|
|
. common.rc
|
|
|
|
requires clang
|
|
|
|
cd "$BUILD_DIR"
|
|
|
|
OPTS="--cxx=clang++ --cc=clang --host-cc=clang --enable-sanitizers"
|
|
build_qemu $OPTS
|
|
check_qemu
|
|
install_qemu
|