!80 support clang build when %toolchain == clang

From: @mdLUbG 
Reviewed-by: @Jingwiw, @peijiankang 
Signed-off-by: @Jingwiw, @peijiankang
This commit is contained in:
openeuler-ci-bot 2023-09-21 06:28:14 +00:00 committed by Gitee
commit 2ede97ea67
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -16,6 +16,10 @@
%global platform linux-g++
%if "%toolchain" == "clang"
%global use_clang 1
%endif
%if 0%{?use_clang}
%global platform linux-clang
%endif
@ -32,7 +36,7 @@
Name: qt5-qtbase
Summary: Qt5 - QtBase components
Version: 5.15.10
Release: 2
Release: 3
# See LGPL_EXCEPTIONS.txt, for exception details
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
@ -1051,6 +1055,9 @@ fi
%changelog
* Wed Sep 13 2023 yoo <sunyuechi@iscas.ac.cn> - 5.15.10-3
- support clang build when %toolchain == clang
* Fri Sep 01 2023 wangkai <13474090681@163.com> - 5.15.10-2
- Fix CVE-2023-37369