mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
media-driver: workaround build error with gcc15-20250330
ref: https://github.com/intel/media-driver issues 1922
This commit is contained in:
parent
3c6c75e975
commit
02f33a5b2b
@ -11,6 +11,12 @@ PKG_URL="https://github.com/intel/media-driver/archive/intel-media-${PKG_VERSION
|
||||
PKG_DEPENDS_TARGET="toolchain libva libdrm gmmlib"
|
||||
PKG_LONGDESC="media-driver: The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware."
|
||||
|
||||
pre_configure_target() {
|
||||
# build with gcc 15 (since 15-20250330, build is successful with 15-20250316) fails
|
||||
# unless this error is degraded to a warning
|
||||
export CXXFLAGS+=" -Wno-error=array-bounds="
|
||||
}
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DBUILD_CMRTLIB=OFF \
|
||||
-DBUILD_KERNELS=ON \
|
||||
-DBUILD_TYPE=release \
|
||||
|
Loading…
x
Reference in New Issue
Block a user