From 52d4e57f0de5be7f0b700d8c89b7fb3abe371135 Mon Sep 17 00:00:00 2001 From: jammyjellyfish Date: Thu, 20 Apr 2023 17:28:47 +0800 Subject: [PATCH] Support specify CC --- valgrind.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/valgrind.spec b/valgrind.spec index 481eae7..e477cce 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -17,7 +17,7 @@ Name: valgrind Version: 3.16.0 -Release: 6 +Release: 7 Epoch: 1 Summary: An instrumentation framework for building dynamic analysis tools License: GPLv2+ @@ -52,12 +52,11 @@ This files contains the development files for %{name}. %autosetup -n %{name}-%{version} -p1 %build -CC=gcc %ifarch x86_64 mkdir -p shared/libgcc/32 ar r shared/libgcc/32/libgcc_s.a ar r shared/libgcc/libgcc_s_32.a -CC="gcc -B `pwd`/shared/libgcc/" +CC="$CC -B `pwd`/shared/libgcc/" %endif %undefine _hardened_build @@ -108,6 +107,9 @@ popd %{_mandir}/man1/* %changelog +* Thu Apr 20 2023 jammyjellyfish - 3.16.0-7 +- Support specify CC + * Tue Jan 03 2023 chenfeiyang - 1:3.16.0-6 - Sync LoongArch with glibc 2.36 -- Gitee