diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-03-20 16:13:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-22 11:35:21 +0000 |
commit | 7c73e9b336e3dc3419937ff695371d6e8c6749a7 (patch) | |
tree | cb3d3639891dacc02e94adbdff83806e45b88227 /meta/recipes-support/gpgme | |
parent | ff731307188d7f6af2bd7490a841dba4d81c53e0 (diff) | |
download | poky-7c73e9b336e3dc3419937ff695371d6e8c6749a7.tar.gz |
gpgme: Avoid requiring a host C++ compiler with C++11 support
Building the C++ bindings for native requires a host C++ compiler with
C++11 support. Since these bindings are currently not needed, we can
disable them and thus avoid increasing the requirement for the host C++
compiler.
(From OE-Core rev: 052547561f3b2c13d357da87061716c6eb968fb9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gpgme')
-rw-r--r-- | meta/recipes-support/gpgme/gpgme_1.8.0.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-support/gpgme/gpgme_1.8.0.bb b/meta/recipes-support/gpgme/gpgme_1.8.0.bb index d3e7880a47..2756ef815d 100644 --- a/meta/recipes-support/gpgme/gpgme_1.8.0.bb +++ b/meta/recipes-support/gpgme/gpgme_1.8.0.bb | |||
@@ -34,7 +34,11 @@ PACKAGECONFIG[python3] = ",,python3 swig-native," | |||
34 | # Supported: "cl cpp python python2 python3 qt" | 34 | # Supported: "cl cpp python python2 python3 qt" |
35 | # python says 'search and find python2 or python3' | 35 | # python says 'search and find python2 or python3' |
36 | 36 | ||
37 | LANGUAGES ?= "cpp" | 37 | # Building the C++ bindings for native requires a C++ compiler with C++11 |
38 | # support. Since these bindings are currently not needed, we can disable them. | ||
39 | DEFAULT_LANGUAGES = "" | ||
40 | DEFAULT_LANGUAGES_class-target = "cpp" | ||
41 | LANGUAGES ?= "${DEFAULT_LANGUAGES}" | ||
38 | LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python2', ' python2', '', d)}" | 42 | LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python2', ' python2', '', d)}" |
39 | LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', ' python3', '', d)}" | 43 | LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', ' python3', '', d)}" |
40 | 44 | ||