[vlc-commits] contrib: matroska: fix passing flags to to compiler

Steve Lhomme git at videolan.org
Thu May 17 13:01:36 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 17 12:35:08 2018 +0200| [fb607e31d866362bfd9081ed85e35f26802dce00] | committer: Steve Lhomme

contrib: matroska: fix passing flags to to compiler

Given it wasn't use maybe it's not needed anymore with the switch to cmake.

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

 contrib/src/matroska/rules.mak | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/src/matroska/rules.mak b/contrib/src/matroska/rules.mak
index 6c2b2096f2..87ea3f45aa 100644
--- a/contrib/src/matroska/rules.mak
+++ b/contrib/src/matroska/rules.mak
@@ -21,9 +21,9 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.xz .sum-matroska
 	$(call pkg_static,"libmatroska.pc.in")
 	$(MOVE)
 
-MATROSKA_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
+MATROSKA_CXXFLAGS := $(CXXFLAGS) -fvisibility=hidden
 
 .matroska: libmatroska toolchain.cmake
-	cd $< && $(HOSTVARS_PIC) $(CMAKE) -DBUILD_SHARED_LIBS=OFF
+	cd $< && $(HOSTVARS_PIC) CXXFLAGS="$(MATROSKA_CXXFLAGS)" $(CMAKE) -DBUILD_SHARED_LIBS=OFF
 	cd $< && $(MAKE) install
 	touch $@



More information about the vlc-commits mailing list