diff mbox

[2/3] Config.in: add symbols for BR2_HOST_GCC_AT_LEAST_4_6

Message ID 1458419136-9094-2-git-send-email-bernd.kuhls@t-online.de
State Accepted
Headers show

Commit Message

Bernd Kuhls March 19, 2016, 8:25 p.m. UTC
This option is needed to fix the Kodi build with older host gcc
versions.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 Config.in | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Thomas Petazzoni March 20, 2016, 2 p.m. UTC | #1
Dear Bernd Kuhls,

On Sat, 19 Mar 2016 21:25:35 +0100, Bernd Kuhls wrote:
> This option is needed to fix the Kodi build with older host gcc
> versions.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  Config.in | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas
diff mbox

Patch

diff --git a/Config.in b/Config.in
index dfb5721..b5cc892 100644
--- a/Config.in
+++ b/Config.in
@@ -23,9 +23,14 @@  config BR2_HOST_GCC_VERSION
 	string
 	option env="HOST_GCC_VERSION"
 
+config BR2_HOST_GCC_AT_LEAST_4_6
+	bool
+	default y if BR2_HOST_GCC_VERSION = "4 6"
+
 config BR2_HOST_GCC_AT_LEAST_4_7
 	bool
 	default y if BR2_HOST_GCC_VERSION = "4 7"
+	select BR2_HOST_GCC_AT_LEAST_4_6
 
 config BR2_HOST_GCC_AT_LEAST_4_8
 	bool