libaom,libvmaf: pin to GCC 13 on aarch64

We got pretty lucky here.  libaom doesn't expose any public C++ ABI.
It does depend on libvmaf, which does have public C++ ABI, so it also
needs to be pinned but fortunately on aarch64 nothing else uses it, at
least by default.
This commit is contained in:
Alyssa Ross 2024-09-16 15:29:28 +02:00
parent c2c6e27f65
commit adb8dffe97
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -20968,7 +20968,10 @@ with pkgs;
libantlr3c = callPackage ../development/libraries/libantlr3c { };
libaom = callPackage ../development/libraries/libaom { };
libaom = callPackage ../development/libraries/libaom {
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116737
stdenv = if stdenv.hostPlatform.isAarch64 && stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "14" then gcc13Stdenv else stdenv;
};
libappindicator-gtk2 = libappindicator.override { gtkVersion = "2"; };
libappindicator-gtk3 = libappindicator.override { gtkVersion = "3"; };
@ -22186,7 +22189,10 @@ with pkgs;
libvisual = callPackage ../development/libraries/libvisual { };
libvmaf = callPackage ../development/libraries/libvmaf { };
libvmaf = callPackage ../development/libraries/libvmaf {
# See libaom
stdenv = if stdenv.hostPlatform.isAarch64 && stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "14" then gcc13Stdenv else stdenv;
};
libvncserver = callPackage ../development/libraries/libvncserver {
inherit (darwin.apple_sdk.frameworks) Carbon;