diff --git a/package/kodi-imagedecoder-heif/Config.in b/package/kodi-imagedecoder-heif/Config.in index f41b164ff4..d77f10ee98 100644 --- a/package/kodi-imagedecoder-heif/Config.in +++ b/package/kodi-imagedecoder-heif/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_KODI_IMAGEDECODER_HEIF depends on BR2_INSTALL_LIBSTDCPP # libde265, libheif, tinyxml2 depends on BR2_TOOLCHAIN_HAS_THREADS # libde265, libheif depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 # libheif - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libheif + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # libheif select BR2_PACKAGE_LIBDE265 select BR2_PACKAGE_LIBHEIF select BR2_PACKAGE_TINYXML2 @@ -12,7 +12,7 @@ config BR2_PACKAGE_KODI_IMAGEDECODER_HEIF https://github.com/xbmc/imagedecoder.heif -comment "kodi-imagedecoder-heif needs a toolchain w/ C++, threads, gcc >= 4.8" +comment "kodi-imagedecoder-heif needs a toolchain w/ C++, threads, gcc >= 10" depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 # libheif depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 diff --git a/package/libheif/Config.in b/package/libheif/Config.in index 0ae86a07f4..9e88fb826d 100644 --- a/package/libheif/Config.in +++ b/package/libheif/Config.in @@ -2,14 +2,14 @@ config BR2_PACKAGE_LIBHEIF bool "libheif" depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 depends on BR2_TOOLCHAIN_HAS_THREADS help libheif is an HEIF and AVIF file format decoder and encoder. https://github.com/strukturag/libheif -comment "libheif needs a toolchain w/ C++, threads, gcc >= 4.8" +comment "libheif needs a toolchain w/ C++, threads, gcc >= 10" depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730 - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/libheif/libheif.mk b/package/libheif/libheif.mk index acd302d847..c4196f9353 100644 --- a/package/libheif/libheif.mk +++ b/package/libheif/libheif.mk @@ -11,7 +11,6 @@ LIBHEIF_LICENSE_FILES = COPYING LIBHEIF_CPE_ID_VENDOR = struktur LIBHEIF_INSTALL_STAGING = YES LIBHEIF_CONF_OPTS = \ - -DCMAKE_CXX_FLAGS="-std=c++11" \ -DENABLE_PLUGIN_LOADING=OFF \ -DWITH_AOM_DECODER=OFF \ -DWITH_AOM_ENCODER=OFF \