[haiku-commits] Change in haiku[master]: configure: Add flag to bypass toolchain check

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 24 Mar 2020 01:35:38 +0000

From Alex von Gluck IV <kallisti5@xxxxxxxxxxx>:

Alex von Gluck IV has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/2415 ;)


Change subject: configure: Add flag to bypass toolchain check
......................................................................

configure: Add flag to bypass toolchain check

* Our build system uses this to generate a single x86_gcc2 toolchain
  which is then used to generate hybrid x86_gcc2h images.
---
M configure
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/15/2415/1

diff --git a/configure b/configure
index 1e19d7a..8f2f7f5 100755
--- a/configure
+++ b/configure
@@ -631,6 +631,7 @@
 HAIKU_PACKAGING_ARCHS=

 set_default_value HAIKU_NASM           nasm
+set_default_value HAIKU_UNSUPPORTED_TOOLCHAINS 0

 if sha256sum < /dev/null > /dev/null 2>&1; then
        HOST_SHA256=sha256sum
@@ -915,7 +916,8 @@
                fi
        fi

-       if [ "$targetArchs" = " x86_gcc2" ]; then
+       if [ "$targetArchs" = " x86_gcc2" ] && \
+               [ "$HAIKU_UNSUPPORTED_TOOLCHAINS" = "0" ]; then
                echo "Building a GCC2-only Haiku is no longer supported."
                echo "Please configure the secondary architecture."
                exit 1

--
To view, visit https://review.haiku-os.org/c/haiku/+/2415
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I7adb060bbe52784de23d37546647e7d0e8a11aa4
Gerrit-Change-Number: 2415
Gerrit-PatchSet: 1
Gerrit-Owner: Alex von Gluck IV <kallisti5@xxxxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: configure: Add flag to bypass toolchain check - Gerrit