From 9b61947205aede97038e6b3259efe652118763f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Tue, 20 Mar 2018 12:51:34 +0200 Subject: [PATCH] Attempt to install libasan for RPM systems Attempting to install libasan allows CentOS 7 to be used with ASAN while still allowing CentOS 6 to be built. --- BUILD/install_build_deps.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD/install_build_deps.sh b/BUILD/install_build_deps.sh index 73a4eccd4..1cbc55e46 100755 --- a/BUILD/install_build_deps.sh +++ b/BUILD/install_build_deps.sh @@ -48,6 +48,9 @@ else gnupg pcre-devel flex rpmdevtools git wget tcl openssl libuuid-devel xz-devel \ sqlite sqlite-devel pkgconfig lua lua-devel rpm-build createrepo yum-utils + # Attempt to install libasan, it'll only work on CentOS 7 + sudo yum install -y --nogpgcheck libasan + cat /etc/redhat-release | grep "release 5" if [ $? == 0 ] then