From 8509c1a7e5acd51aa82c9ffc2811e2532c0e81ce Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 5 Jun 2014 17:09:04 -0700 Subject: freetype: enable 64 bit file support When running 32bit code on a large filessytem with 64bit inodes, the fontcache was not being created correctly because an EOVERFLOW was being returned from the fstat when reading the 64 inode on a 32bit system. The fontcache is created at rootfs time on the host system via qemu. [YOCTO #6338] (From OE-Core rev: bf6fcfa17d73171623a4d27089c32031705c2591) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-graphics/freetype/freetype_2.5.2.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta') diff --git a/meta/recipes-graphics/freetype/freetype_2.5.2.bb b/meta/recipes-graphics/freetype/freetype_2.5.2.bb index fd8a9e184e..7119990d14 100644 --- a/meta/recipes-graphics/freetype/freetype_2.5.2.bb +++ b/meta/recipes-graphics/freetype/freetype_2.5.2.bb @@ -27,6 +27,8 @@ LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool" EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" EXTRA_OEMAKE_class-native = "" EXTRA_OECONF = "--without-zlib --without-bzip2 CC_BUILD='${BUILD_CC}'" +TARGET_CPPFLAGS += "-D_FILE_OFFSET_BITS=64" + PACKAGECONFIG ??= "" PACKAGECONFIG[pixmap] = "--with-png,--without-png,libpng" -- cgit v1.2.3-54-g00ecf