summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-01-09 19:47:04 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-10 17:28:46 (GMT)
commitde58f3cec982ee7dd59b3aa6239516d6d06ad56a (patch)
treefb44fa079a1d7f7116cdec8ba96ad619507514f6
parentd11425db3296eda988d783482ec2f6173460c6a0 (diff)
downloadpoky-de58f3cec982ee7dd59b3aa6239516d6d06ad56a.tar.gz
util-linux: Enable fallocate and use CACHED_CONFIGUREVARS
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 (From OE-Core rev: 469eb3e1680443aa486d3a3c68e665e3388cc892) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.20.1.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.20.1.bb b/meta/recipes-core/util-linux/util-linux_2.20.1.bb
index aa2c6ff..ed445d7 100644
--- a/meta/recipes-core/util-linux/util-linux_2.20.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.20.1.bb
@@ -1,5 +1,5 @@
1MAJOR_VERSION = "2.20" 1MAJOR_VERSION = "2.20"
2PR = "r1" 2PR = "r2"
3require util-linux.inc 3require util-linux.inc
4 4
5# note that `lscpu' is under GPLv3+ 5# note that `lscpu' is under GPLv3+
@@ -39,9 +39,7 @@ do_remove_lscpu() {
39 39
40addtask remove_lscpu before do_configure after do_patch 40addtask remove_lscpu before do_configure after do_patch
41 41
42# fallocate is glibc 2.10, fallocate64 is glibc 2.11 42CACHED_CONFIGUREVARS += "scanf_cv_type_modifier=as"
43# we need to disable it for older versions
44EXTRA_OECONF += "ac_cv_func_fallocate=no scanf_cv_type_modifier=as"
45EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group" 43EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group"
46 44
47do_install_append () { 45do_install_append () {