aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2017-07-23 22:03:38 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-07-26 00:09:53 +0200
commitde2ffb62a255da7794618b3c0f420ae7e1d95cae (patch)
tree655140cd5f82f4fb53b5c53f24918372792636c9
parent26573a3cc7babf6b9584fbcc0bb1ece90c30d28c (diff)
downloadbuildroot-de2ffb62a255da7794618b3c0f420ae7e1d95cae.tar.gz
buildroot-de2ffb62a255da7794618b3c0f420ae7e1d95cae.tar.bz2
package/x265: disable altivec on ppc64
Disable altivec support until gcc problems are fixed: https://bitbucket.org/multicoreware/x265/issues/320/fail-to-build-on-power8-le#comment-34076791 Fixes http://autobuild.buildroot.net/results/419/41910d44ff98c60a6bb9fd3b6a10bd4d0b98d646/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (cherry picked from commit 4f3fd7460c7cb004cc4f7f75451d3901098910af) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/x265/x265.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/x265/x265.mk b/package/x265/x265.mk
index 0fbdb01071..8ffec80a4c 100644
--- a/package/x265/x265.mk
+++ b/package/x265/x265.mk
@@ -16,6 +16,12 @@ ifeq ($(BR2_i386)$(BR2_x86_64),y)
X265_DEPENDENCIES += host-yasm
endif
+# disable altivec, it has build issues
+# https://bitbucket.org/multicoreware/x265/issues/320/
+ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y)
+X265_CONF_OPTS += -DENABLE_ALTIVEC=OFF
+endif
+
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
X265_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_PIC=ON
else