[vlc-devel] [PATCH 5/6] contrib: x265: Don't guess the target cpu architecture from the host build system

Martin Storsjö martin at martin.st
Thu Dec 28 21:58:32 CET 2017


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

diff --git a/contrib/src/x265/rules.mak b/contrib/src/x265/rules.mak
index 520edb6..95b7973 100644
--- a/contrib/src/x265/rules.mak
+++ b/contrib/src/x265/rules.mak
@@ -35,7 +35,7 @@ endif
 
 .x265: x265 toolchain.cmake
 	$(REQUIRE_GPL)
-	cd $</source && $(HOSTVARS_PIC) $(CMAKE) -DENABLE_SHARED=OFF
+	cd $</source && $(HOSTVARS_PIC) $(CMAKE) -DENABLE_SHARED=OFF -DCMAKE_SYSTEM_PROCESSOR=$(ARCH)
 	cd $</source && $(MAKE) install
 	sed -e s/'[^ ]*clang_rt[^ ]*'//g -i.orig "$(PREFIX)/lib/pkgconfig/x265.pc"
 	touch $@
-- 
2.7.4



More information about the vlc-devel mailing list