!16 [sync] PR-14: support specify cc
From: @openeuler-sync-bot Reviewed-by: @sunsuwan Signed-off-by: @sunsuwan
This commit is contained in:
commit
d3b87d5753
14
ipvsadm.spec
14
ipvsadm.spec
@ -1,6 +1,6 @@
|
||||
Name: ipvsadm
|
||||
Version: 1.31
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: A utility to administer the IP virtual server services
|
||||
License: GPLv2+
|
||||
URL: https://kernel.org/pub/linux/utils/kernel/ipvsadm/
|
||||
@ -26,7 +26,11 @@ offered by the Linux kernel with IP virtual server support.
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
make
|
||||
%if "%{?toolchain}" == "clang"
|
||||
%global make_opts CC=clang CXX=clang++
|
||||
%endif
|
||||
|
||||
make %{?make_opts}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
@ -56,6 +60,12 @@ install -p -D -m 0600 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}-co
|
||||
%{_mandir}/man8/*8*
|
||||
|
||||
%changelog
|
||||
* Fri Apr 14 2023 jammyjellyfish <jammyjellyfish255@outlook.com> - 1.31-6
|
||||
- Type: requirement
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC: Support specify CC
|
||||
|
||||
* Fri Apr 22 2022 kwb0523 <kwb0523@163.com> - 1.31-5
|
||||
- Type: requirement
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user