diff options
author | Erik Hovland <erik@hovland.org> | 2006-05-08 19:19:13 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-08 19:19:13 +0000 |
commit | fcb80fdd84521a656ec4e57dde83c10c7f589182 (patch) | |
tree | 1bf62449565321f01cbcd404b79933ce59ae0553 /packages/glibc/glibc_2.3.5+cvs20050627.bb | |
parent | 07423bdbbb7ce2d14455d6b886d4b0156cd28a18 (diff) |
Phil's fix for glibc and mmap_threshold default.
Diffstat (limited to 'packages/glibc/glibc_2.3.5+cvs20050627.bb')
-rw-r--r-- | packages/glibc/glibc_2.3.5+cvs20050627.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/glibc/glibc_2.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb index c8f1d56841..e164e5e537 100644 --- a/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/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" SRCDATE = "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 |