]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
toolchain/toolchain-common.in: fix definition of BR2_TOOLCHAIN_HAS_GCC_BUG_64735
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 9 Feb 2017 20:31:28 +0000 (21:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 9 Feb 2017 20:31:28 +0000 (21:31 +0100)
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>
toolchain/toolchain-common.in

index c64f2046f9015bea3a20ed9af0ebf5341eb26035..96d5709763e15bec951bcab972ff2d894f55a782 100644 (file)
@@ -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