add clang compile support
pass build cc to makefile with CC=%{__cc}
Signed-off-by: liyunfei <liyunfei33@huawei.com>
(cherry picked from commit b7556b8e508c8c4221a7d4362be45205a855d5db)
This commit is contained in:
parent
386a194853
commit
5e0927f16d
@ -2,7 +2,7 @@ Summary: User space tools for kernel auditing
|
||||
Name: audit
|
||||
Epoch: 1
|
||||
Version: 3.1.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: https://people.redhat.com/sgrubb/audit/
|
||||
Source0: https://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
||||
@ -104,7 +104,7 @@ autoreconf -f -i
|
||||
%endif
|
||||
--enable-systemd
|
||||
|
||||
make CFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
make CC=%{__cc} CFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/{sbin,etc/audit/plugins.d,etc/audit/rules.d}
|
||||
@ -359,6 +359,9 @@ fi
|
||||
%attr(644,root,root) %{_mandir}/man8/*.8.gz
|
||||
|
||||
%changelog
|
||||
* Thu Feb 1 2024 liyunfei<liyunfei33@huawei.com> - 1:3.1.2-2
|
||||
- add clang compile support
|
||||
|
||||
* Thu Jan 25 2024 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 1:3.1.2-1
|
||||
- update version to 3.1.2
|
||||
- When processing a run level change, make auditd exit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user