[oe] [meta-oe][PATCH] fio: Remove --disable-static from EXTRA_OECONF

Fabio Berton fabio.berton at ossystems.com.br
Thu Feb 18 17:19:05 UTC 2016


As of commit OE-Core:773c9e18071d71454473dd81aff911104a2e9bc6
EXTRA_OECONF is appended with the option --disable-static on
DISABLE_STATIC variable and this cause the error:

    DEBUG: Python function sysroot_cleansstate finished
    DEBUG: Executing shell function do_configure
    Bad option --disable-static
    --cpu=                 Specify target CPU if auto-detect fails
    --cc=                  Specify compiler to use
    --extra-cflags=        Specify extra CFLAGS to pass to compiler
    --build-32bit-win      Enable 32-bit build on Windows
    --build-static         Build a static fio
    --esx                  Configure build options for esx
    --enable-gfio          Enable building of gtk gfio
    --disable-numa         Disable libnuma even if found
    --enable-libhdfs       Enable hdfs support
    WARNING: exit code 1 from a shell command.

So, we need to disable this option.

Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
 meta-oe/recipes-benchmark/fio/fio_2.2.6.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb b/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
index dca0e64..5bf387c 100644
--- a/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
+++ b/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
@@ -25,6 +25,9 @@ SRC_URI = "git://git.kernel.dk/fio.git"
 
 S = "${WORKDIR}/git"
 
+# avoids build breaks when using no-static-libs.inc
+DISABLE_STATIC = ""
+
 EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}'"
 
 do_configure() {
-- 
2.1.4




More information about the Openembedded-devel mailing list