diff --git a/libvpx.spec b/libvpx.spec index 50b6313..b4c50ef 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -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.