Merge pull request #254288 from trofi/freetype-64-bit-api
freetype: enable 64-bit API on 32-bit systems
This commit is contained in:
@@ -55,7 +55,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
CC_BUILD = "${buildPackages.stdenv.cc}/bin/cc";
|
||||
|
||||
# The asm for armel is written with the 'asm' keyword.
|
||||
CFLAGS = lib.optionalString stdenv.isAarch32 "-std=gnu99";
|
||||
CFLAGS = lib.optionalString stdenv.isAarch32 "-std=gnu99"
|
||||
+ lib.optionalString stdenv.hostPlatform.is32bit " -D_FILE_OFFSET_BITS=64";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user