[vlc-commits] [Git][videolan/vlc][3.0.x] 2 commits: contrib: aom: build with C++14
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Aug 28 14:05:00 UTC 2026
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
5489fab1 by Steve Lhomme at 2026-08-28T12:50:59+00:00
contrib: aom: build with C++14
C++17 is not supported by the older Apple compilers used to make the 3.0 releases.
And it builds fine with this flag. It is most likely due to gtest which uses C++17.
- - - - -
1948fa2f by Steve Lhomme at 2026-08-28T12:50:59+00:00
contrib: vpx: build with C++14
C++17 is not supported by the older Apple compilers used to make the 3.0 releases.
And it builds fine with this flag. It is most likely due to gtest which uses C++17.
- - - - -
2 changed files:
- contrib/src/aom/rules.mak
- contrib/src/vpx/rules.mak
Changes:
=====================================
contrib/src/aom/rules.mak
=====================================
@@ -15,6 +15,8 @@ $(TARBALLS)/libaom-$(AOM_VERSION).tar.gz:
aom: libaom-$(AOM_VERSION).tar.gz .sum-aom
$(UNPACK)
$(APPLY) $(SRC)/aom/0001-Do-not-force-_WIN32_WINNT.patch
+ # do not force C++17, it's not supported by older compilers we support
+ sed -i.orig 's,++17,++14,g' $(UNPACK_DIR)/cmake/aom_configure.cmake
ifndef HAVE_WINSTORE
# disable Windows InitOnceBeginInitialize not compatible with XP
sed -i.orig 's,defined(_WIN32),0,' $(UNPACK_DIR)/aom_ports/aom_once.h
=====================================
contrib/src/vpx/rules.mak
=====================================
@@ -38,6 +38,8 @@ endif
$(APPLY) $(SRC)/vpx/0001-fix-compilation-with-Apple-Clang-13.patch
# make sure we can build when targetting Windows XP
$(APPLY) $(SRC)/vpx/0001-force-detection-of-pthread-on-Windows.patch
+ # do not force C++17, it's not supported by older compilers we support
+ sed -i.orig 's,++17,++14,g' $(UNPACK_DIR)/configure
$(MOVE)
DEPS_vpx =
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/5fbc6904a2e4a96e9956a5d8503ac4db4ebaf702...1948fa2f5e45409b7349217e5ffb58ce896174e6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/5fbc6904a2e4a96e9956a5d8503ac4db4ebaf702...1948fa2f5e45409b7349217e5ffb58ce896174e6
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list