fontconfig: Fix cross building (#534344)

This commit is contained in:
Artemis Tosini 2026-06-23 14:16:38 +00:00 committed by GitHub
commit 6abb7846c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,11 +67,12 @@ stdenv.mkDerivation (finalAttrs: {
]
++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"--with-arch=${stdenv.hostPlatform.parsed.cpu.name}"
"ac_cv_va_copy=C99"
];
enableParallelBuilding = true;
doCheck = true;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
installFlags = [
# Don't try to write to /var/cache/fontconfig at install time.