toolchain: add option to declare toolchains affected by gcc PR 58595
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 13 Apr 2014 19:58:57 +0000 (21:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Apr 2014 20:37:48 +0000 (22:37 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-common.in
toolchain/toolchain-external/Config.in

index b65b227c66d28f6e34b21cb08e28bfa9647fb5b4..f98f19bd7a4c90f6554d523b87eda3b6174b09fd 100644 (file)
@@ -11,6 +11,9 @@ config BR2_LARGEFILE
 config BR2_INET_IPV6
        bool
 
+config BR2_TOOLCHAIN_HAS_GCC_BUG_58595
+       bool
+
 config BR2_TOOLCHAIN_HAS_GCC_BUG_58854
        bool
 
index 9499629ab3a2e78a42c39a62d24b3ce597919612..7fb317542ac666095255835515c5b116afd339f5 100644 (file)
@@ -89,6 +89,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
        depends on BR2_ARM_EABI
        depends on !BR2_PREFER_STATIC_LIB
+       select BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # based-on gcc-4.8.1
        select BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # based-on gcc-4.8.1
        select BR2_TOOLCHAIN_EXTERNAL_GLIBC
        select BR2_TOOLCHAIN_HAS_NATIVE_RPC