[vlc-commits] contribs/vpx: Use HOSTVARS

David Fuhrmann git at videolan.org
Fri Jun 7 23:45:31 CEST 2019


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Jun  6 18:18:07 2019 +0200| [51716a123ff5144ff6c72ac4ecee67b3e3d088f6] | committer: David Fuhrmann

contribs/vpx: Use HOSTVARS

Set HOSTVARS like with other contribs, to let the library select
the correct compiler.

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

 contrib/src/vpx/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index d3345c67e7..db72386651 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -161,7 +161,7 @@ VPX_CONF += --enable-debug --disable-optimizations
 endif
 
 .vpx: libvpx
-	cd $< && LDFLAGS="$(VPX_LDFLAGS)" CROSS=$(VPX_CROSS) ./configure --target=$(VPX_TARGET) \
+	cd $< && $(HOSTVARS) LDFLAGS="$(VPX_LDFLAGS)" CROSS=$(VPX_CROSS) ./configure --target=$(VPX_TARGET) \
 		$(VPX_CONF) --prefix=$(PREFIX)
 	cd $< && $(MAKE)
 	cd $< && ../../../contrib/src/pkg-static.sh vpx.pc



More information about the vlc-commits mailing list