Commit 69bc7c35 authored by Steve Lhomme's avatar Steve Lhomme

contrib: ebml: fix passing flags to to compiler

Given it wasn't use maybe it's not needed anymore with the switch to cmake.
parent 68525572
......@@ -19,12 +19,9 @@ ebml: libebml-$(EBML_VERSION).tar.xz .sum-ebml
$(MOVE)
# libebml requires exceptions
EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions -fvisibility=hidden"
ifdef HAVE_ANDROID
EBML_EXTRA_FLAGS += CPPFLAGS=""
endif
EBML_CXXFLAGS := $(CXXFLAGS) -fexceptions -fvisibility=hidden
.ebml: ebml toolchain.cmake
cd $< && $(HOSTVARS_PIC) $(CMAKE) -DBUILD_SHARED_LIBS=OFF
cd $< && $(HOSTVARS_PIC) CXXFLAGS="$(EBML_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