summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-01-30 11:01:03 +0300
committerNikolai Merinov <n.merinov@samsung.com>2019-01-30 11:01:03 +0300
commit74351ed19d42f1313e7cdde69bcaf3fc0b0e46d4 (patch)
tree8dd4d11d6b2174e776c5bc8e693f79bfe7cbd5fc
parent75ea1796714fddaa04cd0bdfb2dbec56035d1bf2 (diff)
downloaddos2unix-sandbox/nmerinov/llvm.tar.gz
dos2unix-sandbox/nmerinov/llvm.tar.bz2
dos2unix-sandbox/nmerinov/llvm.zip
Use system CC instead of hardcoded gccsandbox/nmerinov/llvm
-rw-r--r--packaging/dos2unix.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/dos2unix.spec b/packaging/dos2unix.spec
index a4d68ff..95ff6b1 100644
--- a/packaging/dos2unix.spec
+++ b/packaging/dos2unix.spec
@@ -26,7 +26,7 @@ cp %{SOURCE1001} .
%build
export RPM_OPT_FLAGS
-make %{?_smp_mflags} CC="gcc" HTMLEXT="html"
+make %{?_smp_mflags} CC="${CC:-gcc}" HTMLEXT="html"
%install