summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-03-20 16:13:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-22 11:35:21 +0000
commit7c73e9b336e3dc3419937ff695371d6e8c6749a7 (patch)
treecb3d3639891dacc02e94adbdff83806e45b88227 /meta
parentff731307188d7f6af2bd7490a841dba4d81c53e0 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.8.0.bb6
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
37LANGUAGES ?= "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.
39DEFAULT_LANGUAGES = ""
40DEFAULT_LANGUAGES_class-target = "cpp"
41LANGUAGES ?= "${DEFAULT_LANGUAGES}"
38LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python2', ' python2', '', d)}" 42LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python2', ' python2', '', d)}"
39LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', ' python3', '', d)}" 43LANGUAGES .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', ' python3', '', d)}"
40 44