TSG-9690: 适配Rocky Linux8.5

This commit is contained in:
刘学利
2022-03-02 02:13:29 +00:00
parent 4b8dd6d069
commit 597eb51755
3 changed files with 150 additions and 49 deletions

View File

@@ -38,7 +38,7 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then
source /etc/profile.d/framework.sh
fi
if [ $ASAN_OPTION ];then
if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ] ;then
source /opt/rh/devtoolset-7/enable
fi