fix building nonfree flavor from release tarball

el8
Dominik 'Rathann' Mierzejewski 8 years ago
parent 5c68365257
commit 21edab7ecf

@ -272,7 +272,7 @@ This package contains development files for %{name}
%setup -q -n ffmpeg-%{?branch}%{date} %setup -q -n ffmpeg-%{?branch}%{date}
echo "git-snapshot-%{?branch}%{date}-RPMFusion" > VERSION echo "git-snapshot-%{?branch}%{date}-RPMFusion" > VERSION
%else %else
%setup -q %setup -q -n ffmpeg-%{version}
%endif %endif
# fix -O3 -g in host_cflags # fix -O3 -g in host_cflags
sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure sed -i "s|check_host_cflags -O3|check_host_cflags %{optflags}|" configure

Loading…
Cancel
Save