[vlc-commits] [Git][videolan/vlc][master] contrib: libvpx: Pass --disable-runtime-cpu-detect for Windows/armv7 too

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jan 30 15:34:46 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
3d230a44 by Martin Storsjö at 2024-01-30T13:47:12+00:00
contrib: libvpx: Pass --disable-runtime-cpu-detect for Windows/armv7 too

This is needed for the same reason as the existing similar case for
iOS/armv7.

- - - - -


1 changed file:

- contrib/src/vpx/rules.mak


Changes:

=====================================
contrib/src/vpx/rules.mak
=====================================
@@ -117,6 +117,10 @@ ifndef HAVE_WIN32
 VPX_CONF += --enable-pic
 else
 VPX_CONF += --extra-cflags="-mstackrealign"
+ifeq ($(ARCH),arm)
+# As of libvpx 1.14.0 we have to explicitly disable runtime CPU detection for Windows armv7
+VPX_CONF += --disable-runtime-cpu-detect
+endif
 endif
 ifdef HAVE_MACOSX
 VPX_CONF += --extra-cflags="$(CFLAGS) $(EXTRA_CFLAGS)"



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3d230a44e93804a71bff8d60f5b67ee095cc96b5

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3d230a44e93804a71bff8d60f5b67ee095cc96b5
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list