]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
glibc: set DEFAULT_MMAP_THRESHOLD to 32k.
authorPhil Blundell <pb@handhelds.org>
Mon, 15 May 2006 22:03:08 +0000 (00:03 +0200)
committerRene Wagner <rw@handhelds.org>
Mon, 15 May 2006 22:03:08 +0000 (00:03 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/packages/glibc/glibc_2.3.5+cvs20050627.bb

index 9c2883391687ad9b408d8fec1f61f545c649d584..0d1d073f4789e623e4ffc50494d6134e5cc2aba0 100644 (file)
@@ -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