diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2022-04-05 23:00:20 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-04-07 16:42:55 -0700 |
commit | a19d1802b15fe07e9b1e7584ff9af7c33bfe642a (patch) | |
tree | aa3c8d82cd3146ffa50c0b88aba03d24c4704b62 /meta-networking | |
parent | b83baa30b7f6af4a19543377fc207b3a8b020649 (diff) | |
download | meta-openembedded-a19d1802b15fe07e9b1e7584ff9af7c33bfe642a.tar.gz |
net-snmp: Avoid running `make clean` as it may fail
Rebuilding net-snmp may cause autotools_preconfigure() to run `make
clean`, which in turn can cause `configure`to be run. However, since
CACHED_CONFIGUREVARS is not set under those circumstances, `configure`
will run with an incorrect configuration and the build will fail with:
checking for /etc/printcap... configure: error: cannot check for
file existence when cross compiling
Avoid the problem by setting CLEANBROKEN = "1".
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb index e5a28de40d..eb60750e2b 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb @@ -40,6 +40,7 @@ EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${B PARALLEL_MAKE = "" CCACHE = "" +CLEANBROKEN = "1" TARGET_CC_ARCH += "${LDFLAGS}" |