summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-09 20:31:28 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-09 20:31:28 (GMT)
commitded5a12482ff8cc7cca800979a4fe4f55a2bb088 (patch)
tree96fdc4b9471577153f69b74c5aff002d2b642d4b
parente65c9acf60b614baaed66156cdc2cd3f3dfc03b9 (diff)
downloadbuildroot-ded5a12482ff8cc7cca800979a4fe4f55a2bb088.tar.gz
buildroot-ded5a12482ff8cc7cca800979a4fe4f55a2bb088.tar.bz2
toolchain/toolchain-common.in: fix definition of BR2_TOOLCHAIN_HAS_GCC_BUG_64735
The rework done on commit accba02a47942b54c01b506512ddccf34d57c357 ("toolchain: add option for toolchains affected by GCC PR libstdc++/64735") by me was wrong. The BR2_TOOLCHAIN_HAS_GCC_BUG_64735 option should be enabled when the bug is present in the toolchain, not the opposite. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--toolchain/toolchain-common.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index c64f204..96d5709 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -13,11 +13,10 @@ comment "Toolchain Generic Options"
# ints before GCC 7
config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
bool
- default y
- depends on !BR2_nios2
- depends on !BR2_ARM_CPU_ARMV4
- depends on !BR2_ARM_CPU_ARMV5
- depends on !BR2_sparc_v8
+ default y if BR2_nios2
+ default y if BR2_ARM_CPU_ARMV4
+ default y if BR2_ARM_CPU_ARMV5
+ default y if BR2_sparc_v8
# https://sourceware.org/bugzilla/show_bug.cgi?id=19405
config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405