configure gets invoked twice, export armv7hl magic to work around this

This commit is contained in:
Tom Callaway 2018-02-12 16:05:43 -05:00
parent a560e55f79
commit 7d3ace2b3d

View File

@ -151,6 +151,10 @@ rm -rf tmp
# mv libNOTvpx_g.a libvpx_g.a
%install
%ifarch armv7hl
export CROSS=armv7hl-redhat-linux-gnueabi-
export CHOST=armv7hl-redhat-linux-gnueabi-hardfloat
%endif
make DIST_DIR=%{buildroot}%{_prefix} dist
# Simpler to label the dir as %%doc.