summaryrefslogtreecommitdiff
path: root/package/libcec
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-08-05 20:05:57 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-06 08:27:42 +0200
commit712bb469da4966fa03a251f3fe8bdc18a89569ed (patch)
tree143915b1e54bc093741b2ffd049efdeedde75c27 /package/libcec
parente3517f72e0025e6af69c084283b50c23bc4688bb (diff)
package/libcec: needs gcc >= 4.7
As per upstream, gcc-4.7 is required to build libcec: https://github.com/Pulse-Eight/libcec/issues/78#issuecomment-91578591 Fixes: http://autobuild.buildroot.org/results/3b5/3b5611725c13668472482ed4ad3b46886d4c63d9/ http://autobuild.buildroot.org/results/0d0/0d032cdd8dbf6d0ddef392c3e5a734881e00ee64/ http://autobuild.buildroot.org/results/c21/c21c555c38261f6911349ff9fdac6edeb4debaac/ [...] Possibly fixes: http://autobuild.buildroot.org/results/4a7/4a7b2af2fc3924255ac89e18f4f5c90bb8383265/ http://autobuild.buildroot.org/results/dd6/dd61c186e6d85a9b30cd32edb74a52f7a4f73cc8/ [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libcec')
-rw-r--r--package/libcec/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/libcec/Config.in b/package/libcec/Config.in
index 2cf011da5..2dddc5363 100644
--- a/package/libcec/Config.in
+++ b/package/libcec/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBCEC
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR
depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
select BR2_PACKAGE_LIBPLATFORM
help
libcec allows you in combination with the right hardware to
@@ -12,6 +13,7 @@ config BR2_PACKAGE_LIBCEC
http://libcec.pulse-eight.com
-comment "libcec needs a toolchain w/ C++, wchar, threads, dynamic library"
+comment "libcec needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.7"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
- !BR2_USE_WCHAR || BR2_STATIC_LIBS
+ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
+ BR2_STATIC_LIBS