diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-01-09 11:47:04 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-10 17:28:28 +0000 |
commit | 469eb3e1680443aa486d3a3c68e665e3388cc892 (patch) | |
tree | f472960d0d01ff9f8a04fbc066ff794d04aabec4 | |
parent | 783999bbe239b3a66cf87f7018a3087187c9bc11 (diff) | |
download | openembedded-core-469eb3e1680443aa486d3a3c68e665e3388cc892.tar.gz openembedded-core-469eb3e1680443aa486d3a3c68e665e3388cc892.tar.bz2 openembedded-core-469eb3e1680443aa486d3a3c68e665e3388cc892.zip |
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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.20.1.bb | 6 |
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 aa2c6ff1e0..ed445d7e69 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 @@ 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 () { |