Commit fb607e31 authored by Steve Lhomme's avatar 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.
parent 69bc7c35
......@@ -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 $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment