[vlc-commits] contrib:matroska: fix compilation optimisation issue on iOS
Jean-Baptiste Kempf
git at videolan.org
Mon Jul 2 13:16:59 CEST 2018
vlc/vlc-3.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul 2 13:13:25 2018 +0200| [cfa5869cb88375988983d1e6e01801d4ce8efa28] | committer: Jean-Baptiste Kempf
contrib:matroska: fix compilation optimisation issue on iOS
See: https://code.videolan.org/videolan/vlc-ios/issues/248
Manual Cherry-pick of 46d71e87ac7f09fadf8ab90d961a972e9405b63b
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=cfa5869cb88375988983d1e6e01801d4ce8efa28
---
contrib/src/matroska/rules.mak | 3 +++
1 file changed, 3 insertions(+)
diff --git a/contrib/src/matroska/rules.mak b/contrib/src/matroska/rules.mak
index 13235e17fa..0c83102fd1 100644
--- a/contrib/src/matroska/rules.mak
+++ b/contrib/src/matroska/rules.mak
@@ -22,6 +22,9 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.xz .sum-matroska
$(MOVE)
MATROSKA_CXXFLAGS := $(CXXFLAGS) $(PIC) -fvisibility=hidden
+ifdef HAVE_IOS
+MATROSKA_CXXFLAGS += " -O2"
+endif
.matroska: libmatroska toolchain.cmake
cd $< && $(HOSTVARS_PIC) CXXFLAGS="$(MATROSKA_CXXFLAGS)" $(CMAKE) -DBUILD_SHARED_LIBS=OFF
More information about the vlc-commits
mailing list