summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-01-29 09:44:32 (GMT)
committerNikolai Merinov <n.merinov@samsung.com>2019-01-29 09:44:38 (GMT)
commit4f6927d09e4ef0618b70c79986fde2f807b80787 (patch)
tree613dac26559e0189410e8b38ea1428b786051b59
parent6fe4fd3a1ffe4fc991e05f4bdeec011126204efe (diff)
downloadlibcap-sandbox/nmerinov/llvm.zip
libcap-sandbox/nmerinov/llvm.tar.gz
libcap-sandbox/nmerinov/llvm.tar.bz2
Pass system CC to Makefilesandbox/nmerinov/llvm
-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