I think the convention is to add such workarounds to no-static-libs.inc, not the recipe, at this time.
On Thu, Feb 18, 2016 at 10:30 AM Fabio Berton <fabio.ber...@ossystems.com.br> wrote: > 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.ber...@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 > > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel