Remove unnecessary parameters from make macros
%make_build already passes %{_smp_mflags) and %make_install passes DESTDIR=%{buildroot}
This commit is contained in:
parent
2c147eaf06
commit
5e669f0402
@ -599,10 +599,10 @@ popd
|
|||||||
|| cat config.log
|
|| cat config.log
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%make_build %{_smp_mflags} tooldir=%{_prefix} all
|
%make_build tooldir=%{_prefix} all
|
||||||
%make_build %{_smp_mflags} tooldir=%{_prefix} info
|
%make_build tooldir=%{_prefix} info
|
||||||
%else
|
%else
|
||||||
%make_build %{_smp_mflags} tooldir=%{_prefix} MAKEINFO=true all
|
%make_build tooldir=%{_prefix} MAKEINFO=true all
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Do not use %%check as it is run after %%install where libbfd.so is rebuilt
|
# Do not use %%check as it is run after %%install where libbfd.so is rebuilt
|
||||||
@ -642,9 +642,9 @@ fi
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%make_install DESTDIR=%{buildroot}
|
%make_install
|
||||||
%else
|
%else
|
||||||
%make_install DESTDIR=%{buildroot} MAKEINFO=true
|
%make_install MAKEINFO=true
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{isnative}
|
%if %{isnative}
|
||||||
|
Loading…
Reference in New Issue
Block a user