perl_5.8.8.bb, perl_5.10.1.bb: Fix build when DISTRO_FEATURES lacks largefile.
authorGraham Gower <graham.gower@gmail.com>
Tue, 30 Nov 2010 04:53:42 +0000 (15:23 +1030)
committerStefan Schmidt <stefan@buglabs.net>
Thu, 2 Dec 2010 15:47:18 +0000 (16:47 +0100)
commit4ddd7b9d067ca8746516d5a0ea54eb22b2233d56
treec8e46cb566167b69c1502ce828833d3fc9ff7a99
parent0a6ad3d3335ca2d93470c6b3b47eb702ca10ac4b
perl_5.8.8.bb, perl_5.10.1.bb: Fix build when DISTRO_FEATURES lacks largefile.

CCCMD =  mipsel-oe-linux-uclibc-gcc -march=mips32 -DPERL_CORE -c -isystem/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  -Wall
In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/sys/types.h:27:0,
                 from perl.h:420,
                 from miniperlmain.c:36:
/mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
recipes/perl/perl_5.10.1.bb
recipes/perl/perl_5.8.8.bb