From 578fb88fbd6bc870211cf11cc27f6b562a3fb1f6 Mon Sep 17 00:00:00 2001 From: SaltyFruit Date: Tue, 11 Apr 2023 23:47:02 +0800 Subject: [PATCH] Support specify CC --- container-exception-logger.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/container-exception-logger.spec b/container-exception-logger.spec index a6f9c18..3ae51be 100644 --- a/container-exception-logger.spec +++ b/container-exception-logger.spec @@ -1,6 +1,6 @@ Name: container-exception-logger Version: 1.0.3 -Release: 5 +Release: 6 Summary: Logging from a container to a host License: GPLv3+ URL: https://github.com/abrt/container-exception-logger @@ -21,7 +21,7 @@ Help document for the %{name} package. %autosetup -n %{name}-%{name}-%{version}-1 -p1 %build -gcc %{optflags} -fPIE src/%{name}.c -o src/container-exception-logger +$CC %{optflags} -fPIE src/%{name}.c -o src/container-exception-logger a2x -d manpage -f manpage man/container-exception-logger.1.asciidoc %install @@ -39,6 +39,9 @@ cp man/container-exception-logger.1 %{buildroot}/%{_mandir}/man1/container-excep %{_mandir}/man1/container-exception-logger.1.* %changelog +* Tue Apr 11 2023 SaltyFruit - 1.0.3-6 +- Support specify cc + * Fri Mar 03 2023 wulei - 1.0.3-5 - Add the compilation option pie -- Gitee