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.
This commit is contained in:
Markus Mäkelä
2018-03-20 12:51:34 +02:00
parent 830858a161
commit 9b61947205

View File

@ -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