[vlc-devel] [PATCH] contribs/vpx: Use HOSTVARS

david.fuhrmann at gmail.com david.fuhrmann at gmail.com
Thu Jun 6 18:19:32 CEST 2019


From: David Fuhrmann <dfuhrmann at videolan.org>

Set HOSTVARS like with other contribs, to let the library select
the correct compiler.
---
 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
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list