summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2024-02-18 10:57:08 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-18 22:02:23 +0000
commit74d48497470ce209bc6bdf49c2e2cfda67dce6ae (patch)
tree4220cc20e94804541305f28f92f8e671307649ea /meta/recipes-support
parent9f7e9c0f4360469b9775372272e0a442c7cc06c8 (diff)
downloadopenembedded-core-74d48497470ce209bc6bdf49c2e2cfda67dce6ae.tar.gz
gnupg: disable tests to avoid running target binaries at build time
By default, the tests are built and run at do_compile and we can see errors like below in log.do_compile: gnupg-2.4.4/tests/cms/inittests: line 99: ../../sm/gpgsm: cannot execute binary file: Exec format error Note that the do_compile process still succeeds. However, we'd better avoid executing these target binaries at build time. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/gnupg/gnupg_2.4.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.4.4.bb b/meta/recipes-support/gnupg/gnupg_2.4.4.bb
index 5b9869b4f3..fff7d8c6da 100644
--- a/meta/recipes-support/gnupg/gnupg_2.4.4.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.4.4.bb
@@ -32,6 +32,7 @@ EXTRA_OECONF = "--disable-ldap \
--with-readline=${STAGING_LIBDIR}/.. \
--with-mailprog=${sbindir}/sendmail \
--enable-gpg-is-gpg2 \
+ --disable-tests \
"
# yat2m can be found from recipe-sysroot-native non-deterministically with different versioning otherwise
CACHED_CONFIGUREVARS += "ac_cv_path_YAT2M=./yat2m"