]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
Config.in: add symbols for BR2_HOST_GCC_AT_LEAST_4_6
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 19 Mar 2016 20:25:35 +0000 (21:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Mar 2016 13:55:27 +0000 (14:55 +0100)
This option is needed to fix the Kodi build with older host gcc
versions.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in

index dfb57217eabc31edcbebd8c936103b31ee670fdb..b5cc892cc7ff07f8db6904d65c8f47a7f7c4dd83 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -23,9 +23,14 @@ config BR2_HOST_GCC_VERSION
        string
        option env="HOST_GCC_VERSION"
 
+config BR2_HOST_GCC_AT_LEAST_4_6
+       bool
+       default y if BR2_HOST_GCC_VERSION = "4 6"
+
 config BR2_HOST_GCC_AT_LEAST_4_7
        bool
        default y if BR2_HOST_GCC_VERSION = "4 7"
+       select BR2_HOST_GCC_AT_LEAST_4_6
 
 config BR2_HOST_GCC_AT_LEAST_4_8
        bool