diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2022-03-10 16:19:24 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-11 08:00:40 -0800 |
commit | 39cc16f43c1d69b798e287d32e084fadc669a62d (patch) | |
tree | 00db150bccc4801a779979c4d47ef10a1ec29545 | |
parent | 1f372ad6c5a71156c1f30d99f1a6eb0c1be7de32 (diff) | |
download | meta-openembedded-39cc16f43c1d69b798e287d32e084fadc669a62d.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>
-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 b0c5bbdac0..5f887b8868 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 | |||
40 | 40 | ||
41 | PARALLEL_MAKE = "" | 41 | PARALLEL_MAKE = "" |
42 | CCACHE = "" | 42 | CCACHE = "" |
43 | CLEANBROKEN = "1" | ||
43 | 44 | ||
44 | TARGET_CC_ARCH += "${LDFLAGS}" | 45 | TARGET_CC_ARCH += "${LDFLAGS}" |
45 | 46 | ||