summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/rtorrent/Config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in
index 190e50fe26..6bbcaaf56c 100644
--- a/package/rtorrent/Config.in
+++ b/package/rtorrent/Config.in
@@ -4,6 +4,8 @@ config BR2_PACKAGE_RTORRENT
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
+ # gcc < 4.9 cause an "internal compiler error"
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBTORRENT
@@ -14,7 +16,8 @@ config BR2_PACKAGE_RTORRENT
https://github.com/rakshasa/rtorrent
-comment "rtorrent needs a toolchain w/ C++, threads, wchar"
+comment "rtorrent needs a toolchain w/ C++, threads, wchar, gcc >= 4.9"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4
- depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
+ depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && \
+ BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9)
OpenPOWER on IntegriCloud