qt5: latest/5.8.0 needs c++11 host compiler support
authorPeter Seiderer <ps.report@gmx.net>
Thu, 9 Feb 2017 18:00:31 +0000 (19:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 9 Feb 2017 18:50:36 +0000 (19:50 +0100)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt5/Config.in

index 692943433b3adb6831f1ff4fed37eec5d1fb1b04..c3560c3777b802cdf3e8f62893cae8a62024d279 100644 (file)
@@ -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)"