aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-13 21:58:57 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-14 22:37:48 +0200
commitbe4f30a4ffef538e2e3939dd4ae1461b173e43bd (patch)
tree52b44a91a0a14d223c038784b0788788824c6dbb
parent4285df4cdd337e5a6c41561e26642a8c3d72b7ed (diff)
downloadbuildroot-be4f30a4ffef538e2e3939dd4ae1461b173e43bd.tar.gz
buildroot-be4f30a4ffef538e2e3939dd4ae1461b173e43bd.tar.bz2
toolchain: add option to declare toolchains affected by gcc PR 58595
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--toolchain/toolchain-common.in3
-rw-r--r--toolchain/toolchain-external/Config.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index b65b227c66..f98f19bd7a 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -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
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 9499629ab3..7fb317542a 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -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