package/libgpgme: C++ binding requires gcc 5

libgpgme now use the -Wsuggest-override warning parameter when building
the C++ binding. This requires gcc 5 or newer.

Fixes:
http://autobuild.buildroot.net/results/6eed9cae57af445f53c9854e007815b882c5c65a/
http://autobuild.buildroot.net/results/75617aee53a6f2b009a0d4ddc5b9a8c4cd406895/
http://autobuild.buildroot.net/results/8191a732918c6987b84309df3dfd66ab54b43fb7/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Baruch Siach 2019-07-09 13:23:24 +03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 0af974f373
commit b65255ccc3

View File

@ -23,8 +23,8 @@ LIBGPGME_CONF_OPTS = \
--disable-gpg-test \
--enable-languages=$(LIBGPGME_LANGUAGE_BINDINGS)
# C++ bindings require a C++11 capable gcc
ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),yy)
# C++ bindings require a C++11 capable gcc, and -Wsuggest-override support
ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_TOOLCHAIN_GCC_AT_LEAST_5),yy)
LIBGPGME_LANGUAGE_BINDINGS := $(LIBGPGME_LANGUAGE_BINDINGS),cpp
endif