From 310261626be23c7ef3a83d8a059470d4cb2732d7 Mon Sep 17 00:00:00 2001 From: wangqiang Date: Fri, 8 Mar 2024 12:16:08 +0800 Subject: [PATCH] Fix CC compiler support (cherry picked from commit 6e9ed83138673930a9523d4c69f58a69bcb5c2f6) --- jimtcl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jimtcl.spec b/jimtcl.spec index 052ae83..f2012d3 100644 --- a/jimtcl.spec +++ b/jimtcl.spec @@ -1,6 +1,6 @@ Name: jimtcl Version: 0.82 -Release: 1 +Release: 2 Summary: A small embeddable Tcl interpreter License: BSD-2-Clause-Views URL: http://jim.tcl.tk @@ -34,7 +34,7 @@ This package contains libraries and header files for developing applications tha rm -rf sqlite3 %build -export CC=gcc LD=ld AR=ar RANLIB=ranlib STRIP=strip +export CC=%{__cc} LD=ld AR=ar RANLIB=ranlib STRIP=strip %ifarch loongarch64 rm -rf autosetup/autosetup-config.sub rm -rf autosetup/autosetup-config.guess @@ -73,6 +73,9 @@ rm %{buildroot}/%{_libdir}/jim/README.extensions %{_libdir}/pkgconfig/jimtcl.pc %changelog +* Mon Mar 18 2024 wangqiang - 0.82-2 +- Fix CC compiler support + * Wed May 17 2023 liyanan - 0.82-1 - update to 0.82 -- Gitee