From 618affc78902e86815c908e08a1d0c51832ce7ce Mon Sep 17 00:00:00 2001 From: Marc Poulhiès Date: Sat, 11 Jun 2022 15:03:41 +0200 Subject: Enable D language support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable D support as an experimental feature. GDC becomes a build dependency when enabled. Signed-off-by: Marc Poulhiès --- config/cc.in | 14 ++++++++++++++ config/cc/gcc.in | 1 + 2 files changed, 15 insertions(+) (limited to 'config') diff --git a/config/cc.in b/config/cc.in index 3a168055..abc68773 100644 --- a/config/cc.in +++ b/config/cc.in @@ -17,6 +17,9 @@ config CC_SUPPORT_JAVA config CC_SUPPORT_ADA bool +config CC_SUPPORT_D + bool + config CC_SUPPORT_OBJC bool @@ -73,6 +76,17 @@ config CC_LANG_ADA Only select this if you know that your specific version of the compiler supports this language. +config CC_LANG_D + bool + prompt "D (EXPERIMENTAL)" + depends on CC_SUPPORT_D + depends on EXPERIMENTAL + help + Enable building a D compiler. + + Only select this if you know that your specific version of the + compiler supports this language. + config CC_LANG_OBJC bool prompt "Objective-C (EXPERIMENTAL)" diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 15d930bc..037291fe 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -4,6 +4,7 @@ ## select CC_SUPPORT_FORTRAN ## select CC_SUPPORT_JAVA if !GCC_7_or_later && OBSOLETE ## select CC_SUPPORT_ADA +## select CC_SUPPORT_D ## select CC_SUPPORT_OBJC ## select CC_SUPPORT_OBJCXX ## select CC_SUPPORT_GOLANG -- cgit v1.2.3