[vlc-commits] contrib: x265: Don't guess the target cpu architecture from the host build system

Martin Storsjö git at videolan.org
Tue Jan 2 23:22:15 CET 2018


vlc | branch: master | Martin Storsjö <martin at martin.st> | Thu Dec 28 22:58:32 2017 +0200| [3709f5ff86191f2c0146c4cbb34ebd3a180cfecb] | committer: Jean-Baptiste Kempf

contrib: x265: Don't guess the target cpu architecture from the host build system

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 520edb65b1..95b797333a 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 $@



More information about the vlc-commits mailing list