]> code.ossystems Code Review - openembedded-core.git/commitdiff
util-linux: Enable fallocate and use CACHED_CONFIGUREVARS
authorKhem Raj <raj.khem@gmail.com>
Mon, 9 Jan 2012 19:47:04 +0000 (11:47 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jan 2012 17:28:28 +0000 (17:28 +0000)
fallocate is implemented in eglibc 2.11 and all eglibc
we use are greater than 2.11 so drop disabling it.

Use CACHED_CONFIGUREVARS to specify scanf_cv_type_modifier=as

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-core/util-linux/util-linux_2.20.1.bb

index aa2c6ff1e0d12c26a640da52c350d02a35b3ad4d..ed445d7e692d24e959f77b307207e0c50d1381fc 100644 (file)
@@ -1,5 +1,5 @@
 MAJOR_VERSION = "2.20"
-PR = "r1"
+PR = "r2"
 require util-linux.inc
 
 # note that `lscpu' is under GPLv3+
@@ -39,9 +39,7 @@ do_remove_lscpu() {
 
 addtask remove_lscpu before do_configure after do_patch
 
-# fallocate is glibc 2.10, fallocate64 is glibc 2.11
-# we need to disable it for older versions
-EXTRA_OECONF += "ac_cv_func_fallocate=no scanf_cv_type_modifier=as"
+CACHED_CONFIGUREVARS += "scanf_cv_type_modifier=as"
 EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group"
 
 do_install_append () {