package/gdb: ARC version has stringent dependencies on host gcc
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 2 Nov 2017 18:14:05 +0000 (19:14 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Nov 2017 21:37:50 +0000 (22:37 +0100)
commit445340685f1c8118513355a5d96f683cb2af85e2
tree5aa1d33f9118bd2a2212d6100e7c64748056874d
parent9229e61ff448afb2c5c1117069546599fd5eb562
package/gdb: ARC version has stringent dependencies on host gcc

The ARC gdb version requires a gcc >= 4.8 (because C++11).

Since the host variant uses the same sources as the target variant, we
must ensure that we have a host gcc >= 4.8 as well.

Move the architecture dependencies to their own symbol, and also hide
the comment when they are not met.

Fixes:
    http://autobuild.buildroot.net/results/43eae264991aa369490236c7bd59c0b6a67fcf25/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdb/Config.in.host