Skip to contentSkip to conversation

qt5: latest/5.8.0 needs c++11 host compiler support

PATCH New Peter Seiderer 2 participants 2 messages Feb 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5: latest/5.8.0 needs c++11 host compiler support

---
 package/qt5/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/qt5/Config.in +3 -2
index 692943433..c3560c377 100644
@@ -37,12 +37,13 @@ choice
 config BR2_QT5_VERSION_LATEST
 	bool "Latest (5.8)"
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+	depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
 	help
 	  This option builds Qt 5.8, which is licensed under
 	  (L)GPLv3+.
 
-comment "Latest Qt version needs toolchain w/ gcc >= 4.8"
-	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+comment "Latest Qt version needs host/toolchain w/ gcc >= 4.8"
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_HOST_GCC_AT_LEAST_4_8
 
 config BR2_QT5_VERSION_5_6
 	bool "LTS (5.6)"
Signature · 1 line
2.11.0