[vlc-commits] contrib: matroska: fix passing flags to to compiler
Steve Lhomme
git at videolan.org
Sun Jul 1 16:30:53 CEST 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 17 12:35:08 2018 +0200| [9273d0fd0b21814f1511dc19401b6932f54a62f2] | committer: Jean-Baptiste Kempf
contrib: matroska: fix passing flags to to compiler
Given it wasn't use maybe it's not needed anymore with the switch to cmake.
(cherry picked from commit fb607e31d866362bfd9081ed85e35f26802dce00)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=9273d0fd0b21814f1511dc19401b6932f54a62f2
---
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