diff --git a/nfs4-acl-tools.spec b/nfs4-acl-tools.spec index 71ff9de95f028be8ffdc6a44462e29bf9724a6c3..cd7cbcfbc53191b24edf186039f2ab82614ffc25 100644 --- a/nfs4-acl-tools.spec +++ b/nfs4-acl-tools.spec @@ -1,6 +1,6 @@ Name: nfs4-acl-tools Version: 0.3.7 -Release: 6 +Release: 7 Summary: The nfs4 ACL tools License: BSD or GPLv2+ or LGPLv2.1 URL: http://www.citi.umich.edu/projects/nfsv4/linux/ @@ -26,7 +26,11 @@ This contains man files for the using of nfs4-acl-tools. %autosetup -n %{name}-%{version} -p1 %build -%configure +%if "%toolchain" == "clang" + %configure CC=clang LIBTOOL="libtool --tag=CC" +%else + %configure +%endif CFLAGS="`echo $RPM_OPT_FLAGS -fpie`" export LDFLAGS="-pie" %make_build @@ -46,6 +50,9 @@ make DESTDIR=%{buildroot} install %{_mandir}/man*/* %changelog +* Mon Sep 09 2024 wangqiang - 0.3.7-7 +- Add support for building with clang + * Tue Jul 30 2024 wuguanghao - 0.3.7-6 - acl_nfs4_get_who: removed an always false evaluate warning