[vlc-commits] contrib:matroska: fix compilation optimisation issue

Felix Paul Kühne git at videolan.org
Mon Jul 2 13:09:03 CEST 2018


vlc/vlc-3.0 | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon Jul  2 11:37:35 2018 +0200| [f22383fe1ae910ecfcfaaed1527f5eaf99c8a375] | committer: Jean-Baptiste Kempf

contrib:matroska: fix compilation optimisation issue

Ref: https://code.videolan.org/videolan/vlc-ios/issues/248
(cherry picked from commit 46d71e87ac7f09fadf8ab90d961a972e9405b63b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=f22383fe1ae910ecfcfaaed1527f5eaf99c8a375
---

 contrib/src/matroska/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/matroska/rules.mak b/contrib/src/matroska/rules.mak
index 13235e17fa..158ac59bc1 100644
--- a/contrib/src/matroska/rules.mak
+++ b/contrib/src/matroska/rules.mak
@@ -21,7 +21,7 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.xz .sum-matroska
 	$(call pkg_static,"libmatroska.pc.in")
 	$(MOVE)
 
-MATROSKA_CXXFLAGS := $(CXXFLAGS) $(PIC) -fvisibility=hidden
+MATROSKA_CXXFLAGS := $(CXXFLAGS) $(PIC) -fvisibility=hidden -O2
 
 .matroska: libmatroska toolchain.cmake
 	cd $< && $(HOSTVARS_PIC) CXXFLAGS="$(MATROSKA_CXXFLAGS)" $(CMAKE) -DBUILD_SHARED_LIBS=OFF



More information about the vlc-commits mailing list