소스 검색

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Seiderer 8 년 전
부모
커밋
e3a4c386e4
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      package/qt5/Config.in

+ 3 - 2
package/qt5/Config.in

@@ -37,12 +37,13 @@ choice
 config BR2_QT5_VERSION_LATEST
 config BR2_QT5_VERSION_LATEST
 	bool "Latest (5.8)"
 	bool "Latest (5.8)"
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+	depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
 	help
 	help
 	  This option builds Qt 5.8, which is licensed under
 	  This option builds Qt 5.8, which is licensed under
 	  (L)GPLv3+.
 	  (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
 config BR2_QT5_VERSION_5_6
 	bool "LTS (5.6)"
 	bool "LTS (5.6)"