From cec133e873e991e26b7fa8bbeb7162c4433cadcf Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: Mon, 25 Jun 2018 21:54:43 +0200
Subject: [PATCH] gdb: ARC version is based on GDB 8.0, needs C++11 support

The special gdb version used for ARC is based on GDB 8.0, so it needs
C++11 support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/gdb/Config.in.host | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index ae855a3673..5f5e402a0e 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -82,6 +82,7 @@ config BR2_PACKAGE_GDB_NEEDS_CXX11
 	default y if !BR2_PACKAGE_HOST_GDB
 	default y if BR2_GDB_VERSION_8_0
 	default y if BR2_GDB_VERSION_8_1
+	default y if BR2_arc
 
 # If cross-gdb is not enabled, the latest working version is chosen.
 config BR2_GDB_VERSION