From 60cd07f02d3fa8f10f4c267c8d31f6565c46a659 Mon Sep 17 00:00:00 2001 From: s Date: Wed, 13 Sep 2023 09:17:56 +0800 Subject: [PATCH] support clang build when %toolchain == clang --- qt5-qtbase.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec index eb88304..8a514b7 100644 --- a/qt5-qtbase.spec +++ b/qt5-qtbase.spec @@ -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 - 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