[vlc-devel] [PATCH 3/3] contrib: vpx: disable optimizations when boostrapped that way

Steve Lhomme robux4 at videolabs.io
Fri May 20 11:14:30 CEST 2016


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

diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index 28a4aa5..473a4ca 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -112,6 +112,10 @@ VPX_CONF += --sdk-path=$(shell dirname $(shell which $(HOST)-gcc))
 VPX_CONF += --extra-cflags="-I $(ANDROID_NDK)/sources/cpufeatures/"
 endif
 
+ifndef WITH_OPTIMIZATION
+ASS_CFLAGS += --enable-debug --disable-optimizations
+endif
+
 .vpx: libvpx
 	cd $< && LDFLAGS="$(VPX_LDFLAGS)" CROSS=$(VPX_CROSS) ./configure --target=$(VPX_TARGET) \
 		$(VPX_CONF) --prefix=$(PREFIX)
-- 
2.8.1



More information about the vlc-devel mailing list