commit:     7ea8db718ae317d062bb7a293a8ffb901276b1f9
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  1 10:15:09 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 10:15:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7ea8db71

scripts/bootstrap-prefix: default to GCC build on Darwin

The GCC builds have been verified on 10.13, 10.15 and 11.0 and are
functional enough to be used, as well as can be used to extend/build out
to LLVM/Clang toolchain (which isn't yet working).
Allow people for the time being to at least produce a working Prefix.

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 595a0019f3..159fc88d9a 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -3088,6 +3088,8 @@ case ${CHOST} in
                # normalise value of DARWIN_USE_GCC
                case ${DARWIN_USE_GCC} in
                        yes|true|1)  DARWIN_USE_GCC=1  ;;
+                       no|false|0)  DARWIN_USE_GCC=0  ;;
+                       *)           DARWIN_USE_GCC=1  ;;   # default to GCC 
build
                esac
                ;;
        *)

Reply via email to