freetype: fix non-windows llvm bintools builds (#494215)

This commit is contained in:
Aleksana
2026-03-06 14:34:36 +00:00
committed by GitHub
+4
View File
@@ -90,6 +90,10 @@ stdenv.mkDerivation (finalAttrs: {
CFLAGS =
lib.optionalString stdenv.hostPlatform.isAarch32 "-std=gnu99"
+ lib.optionalString stdenv.hostPlatform.is32bit " -D_FILE_OFFSET_BITS=64";
}
// lib.optionalAttrs (!stdenv.hostPlatform.isWindows && stdenv.cc.bintools.isLLVM) {
# Needs to be unset when using LLVM or else it tries to include Windows headers on Linux
RC = "";
};
enableParallelBuilding = true;