diff --git a/scripts/android/x265.sh b/scripts/android/x265.sh index 9c31ac8..937fa5a 100755 --- a/scripts/android/x265.sh +++ b/scripts/android/x265.sh @@ -42,6 +42,7 @@ cmake -Wno-dev \ -DSTATIC_LINK_CRT=1 \ -DENABLE_PIC=1 \ -DENABLE_CLI=0 \ + -DHIGH_BIT_DEPTH=1 \ ${ASM_OPTIONS} \ -DCMAKE_SYSTEM_PROCESSOR="${ARCH}" \ -DENABLE_SHARED=0 "${BASEDIR}"/src/"${LIB_NAME}"/source || return 1 diff --git a/scripts/apple/x265.sh b/scripts/apple/x265.sh index 4cf5159..1f24121 100755 --- a/scripts/apple/x265.sh +++ b/scripts/apple/x265.sh @@ -11,6 +11,9 @@ arm64*) x86-64-mac-catalyst) ASM_OPTIONS="-DENABLE_ASSEMBLY=0 -DCROSS_COMPILE_ARM=0" ;; +i386) + ASM_OPTIONS="-DENABLE_ASSEMBLY=0 -DCROSS_COMPILE_ARM=0" + ;; *) ASM_OPTIONS="-DENABLE_ASSEMBLY=1 -DCROSS_COMPILE_ARM=0" ;; @@ -65,6 +68,7 @@ cmake -Wno-dev \ -DSTATIC_LINK_CRT=1 \ -DENABLE_PIC=1 \ -DENABLE_CLI=0 \ + -DHIGH_BIT_DEPTH=1 \ ${ASM_OPTIONS} \ -DCMAKE_SYSTEM_PROCESSOR="$(get_target_cpu)" \ -DENABLE_SHARED=0 "${BASEDIR}"/src/"${LIB_NAME}"/source || return 1