summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/libcap.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/libcap.spec b/packaging/libcap.spec
index 134dd8c..d8c5c3e 100644
--- a/packaging/libcap.spec
+++ b/packaging/libcap.spec
@@ -48,7 +48,7 @@ libcap.
cp %{SOURCE1001} .
%build
-lib=%{_lib} make %{?_smp_mflags} DEBUG="-g %{optflags}"
+lib=%{_lib} make %{?_smp_mflags} DEBUG="-g %{optflags}" CC="${CC:-gcc}"
%install
make install prefix=%{_prefix} DESTDIR=%{buildroot} LIBDIR=%{buildroot}/%{_lib} MANDIR=%{buildroot}%{_mandir} PKGCONFIGDIR=%{buildroot}%{_libdir}/pkgconfig RAISE_SETFCAP=no