Fix x265 build with gcc-15

This commit is contained in:
BtbN 2025-05-16 22:46:44 +02:00
parent 7946196017
commit da3f2915cd

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://bitbucket.org/multicoreware/x265_git.git"
SCRIPT_COMMIT="f8be4634f6db0b67d149552386559095a840ccf2"
SCRIPT_COMMIT="78e5ac35c13c5cbccc5933083edceb0d3eaeaa21"
ffbuild_enabled() {
[[ $VARIANT == lgpl* ]] && return -1
@ -23,6 +23,8 @@ ffbuild_dockerbuild() {
-DENABLE_ALPHA=ON
)
sed -i '1i#include <cstdint>' source/dynamicHDR10/json11/json11.cpp
if [[ $TARGET != *32 ]]; then
mkdir 8bit 10bit 12bit
cmake "${common_config[@]}" -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_HDR10_PLUS=ON -DMAIN12=ON -S source -B 12bit &