use LDGLAGS

This commit is contained in:
Miroslav Suchý 2017-11-08 09:33:20 +01:00
parent 45e07634c3
commit e2a2072bc8

View File

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