[vlc-devel] [PATCH] ebml: only override the CPPFLAGS on Android

Steve Lhomme robux4 at gmail.com
Wed May 4 15:51:15 CEST 2016


From: Steve Lhomme <robux4 at gmail.com>

not even sure why this is needed
---
 contrib/src/ebml/rules.mak | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/src/ebml/rules.mak b/contrib/src/ebml/rules.mak
index 0859b55..b68b5c4 100644
--- a/contrib/src/ebml/rules.mak
+++ b/contrib/src/ebml/rules.mak
@@ -14,8 +14,10 @@ libebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml
 	$(MOVE)
 
 # libebml requires exceptions
-EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions -fvisibility=hidden" \
-					CPPFLAGS=""
+EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions -fvisibility=hidden"
+ifdef HAVE_ANDROID
+EBML_EXTRA_FLAGS += CPPFLAGS=""
+endif
 
 .ebml: libebml
 	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(EBML_EXTRA_FLAGS)
-- 
2.7.0



More information about the vlc-devel mailing list