From 4a573d9dc151ea8ec3777a314a687c2e414e9fb4 Mon Sep 17 00:00:00 2001 From: s Date: Tue, 27 Jun 2023 16:27:56 +0800 Subject: [PATCH] fix clang build error --- tidb.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tidb.spec b/tidb.spec index 2ed12a4..ad7ef11 100644 --- a/tidb.spec +++ b/tidb.spec @@ -1,6 +1,6 @@ Name: tidb Version: 4.0.14 -Release: 3 +Release: 4 Summary: TiDB is a distributed NewSQL database compatible with MySQL protocol License: QL and STRUTIL @@ -24,6 +24,9 @@ TiDB is a distributed NewSQL database compatible with MySQL protocol tar xvf %{SOURCE3} -C . %build +%if "%toolchain" == "clang" + export LDFLAGS= +%endif %make_build %install @@ -69,6 +72,9 @@ exit 0 %license LICENSE %changelog +* Tue Jun 27 2023 yoo - 4.0.14-4 +- fix clang build error + * Mon Oct 11 2021 baizhonggui - 4.0.14-3 - Fix commond tidb-server -V 'Release Version' not displayed -- Gitee