use modern version of variable

This commit is contained in:
Miroslav Suchý 2017-11-08 09:15:35 +01:00
parent 26d31f9ba0
commit 45e07634c3

View File

@ -26,7 +26,7 @@ I/O ports (e.g. serial, parallel, USB).
%patch0 -p1 -b .system-family
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man