meta-openembedded/meta-oe/recipes-core/ndctl
Naveen Saini 8291505ccd ndctl: fix build failure with EXEWRAPPER_ENABLED False
The v73 version tries to build and run a test program at compile
time to check whether compiler supports sizeof and expression statements
and sets HAVE_STATEMENT_EXPR accordingly. This requires EXEWRAPPER_ENABLED
in meson.bbclass to be True and qemu-usermode to be working.

In cases when EXEWRAPPER_ENABLED is False, build fails with error:

| ../git/meson.build:213:0: ERROR: Can not run test applications in
this cross environment.

We don't really need to do this as these have been supported since gcc3 and can set the configs to 1.

The autotools implementation also used to set it to 1 so this doesn't change anything:

https://github.com/pmem/ndctl/blob/v72.1/configure.ac#L70

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-10 10:05:35 -07:00
..
ndctl ndctl: fix build failure with EXEWRAPPER_ENABLED False 2022-04-10 10:05:35 -07:00
ndctl_v73.bb ndctl: fix build failure with EXEWRAPPER_ENABLED False 2022-04-10 10:05:35 -07:00