diff options
author | Phil Blundell <pb@handhelds.org> | 2006-05-16 00:03:08 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-05-16 00:03:08 +0200 |
commit | 9d9653da4ac14ce500d144f459326c4fe8431140 (patch) | |
tree | 07eeee036258a9d5fff80244dce179c082537c28 /org.handhelds.familiar/packages/glibc | |
parent | a284276ebddead2b473cbaca065114743a4bedc2 (diff) |
glibc: set DEFAULT_MMAP_THRESHOLD to 32k.
Signed-off-by: Rene Wagner <rw@handhelds.org>
Diffstat (limited to 'org.handhelds.familiar/packages/glibc')
-rw-r--r-- | org.handhelds.familiar/packages/glibc/glibc_2.3.5+cvs20050627.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org.handhelds.familiar/packages/glibc/glibc_2.3.5+cvs20050627.bb b/org.handhelds.familiar/packages/glibc/glibc_2.3.5+cvs20050627.bb index 9c28833..0d1d073 100644 --- a/org.handhelds.familiar/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/org.handhelds.familiar/packages/glibc/glibc_2.3.5+cvs20050627.bb @@ -7,7 +7,7 @@ MAINTAINER = "Phil Blundell <pb@handhelds.org>" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5" CVSDATE = "20050627" -PR = "r3" +PR = "r4" GLIBC_ADDONS ?= "ports,linuxthreads" GLIBC_EXTRA_OECONF ?= "" @@ -95,7 +95,12 @@ do_munge() { addtask munge before do_patch after do_unpack +export default_mmap_threshold_familiar = "32*1024" + do_configure () { + if [ "x$default_mmap_threshold" != "x" ]; then + echo "malloc-CPPFLAGS=-DDEFAULT_MMAP_THRESHOLD=\"(${default_mmap_threshold})\"" >configparms + fi # override this function to avoid the autoconf/automake/aclocal/autoheader # calls for now # don't pass CPPFLAGS into configure, since it upsets the kernel-headers |