diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2024-02-18 10:57:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-18 22:02:40 +0000 |
commit | 33216d08f742b01420a4b1478542a571e12e6fbb (patch) | |
tree | 2e6d6d3e6a19f33e725e084cb0a86cf53a9fa9d8 /meta/recipes-support | |
parent | 3f9e81af21136e255f4e9e7935d229dfce61cb76 (diff) | |
download | poky-33216d08f742b01420a4b1478542a571e12e6fbb.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.
(From OE-Core rev: 74d48497470ce209bc6bdf49c2e2cfda67dce6ae)
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.bb | 1 |
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 \ | |||
32 | --with-readline=${STAGING_LIBDIR}/.. \ | 32 | --with-readline=${STAGING_LIBDIR}/.. \ |
33 | --with-mailprog=${sbindir}/sendmail \ | 33 | --with-mailprog=${sbindir}/sendmail \ |
34 | --enable-gpg-is-gpg2 \ | 34 | --enable-gpg-is-gpg2 \ |
35 | --disable-tests \ | ||
35 | " | 36 | " |
36 | # yat2m can be found from recipe-sysroot-native non-deterministically with different versioning otherwise | 37 | # yat2m can be found from recipe-sysroot-native non-deterministically with different versioning otherwise |
37 | CACHED_CONFIGUREVARS += "ac_cv_path_YAT2M=./yat2m" | 38 | CACHED_CONFIGUREVARS += "ac_cv_path_YAT2M=./yat2m" |