From 74351ed19d42f1313e7cdde69bcaf3fc0b0e46d4 Mon Sep 17 00:00:00 2001 From: Nikolai Merinov Date: Wed, 30 Jan 2019 11:01:03 +0300 Subject: Use system CC instead of hardcoded gcc --- packaging/dos2unix.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3