[vlc-commits] contrib: vpx: disable optimizations when boostrapped that way

Steve Lhomme git at videolan.org
Fri May 20 13:34:12 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Fri May 20 11:58:34 2016 +0200| [fba84e29ab2fe6c537750520a24faec3cf8784e2] | committer: Thomas Guillem

contrib: vpx: disable optimizations when boostrapped that way

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fba84e29ab2fe6c537750520a24faec3cf8784e2
---

 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..986f681 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
+VPX_CONF += --enable-debug --disable-optimizations
+endif
+
 .vpx: libvpx
 	cd $< && LDFLAGS="$(VPX_LDFLAGS)" CROSS=$(VPX_CROSS) ./configure --target=$(VPX_TARGET) \
 		$(VPX_CONF) --prefix=$(PREFIX)



More information about the vlc-commits mailing list