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:
@ -48,6 +48,9 @@ else
|
|||||||
gnupg pcre-devel flex rpmdevtools git wget tcl openssl libuuid-devel xz-devel \
|
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
|
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"
|
cat /etc/redhat-release | grep "release 5"
|
||||||
if [ $? == 0 ]
|
if [ $? == 0 ]
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user