From 2b2ad874bb7d4accfcacd1460172908718e8f2f9 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Wed, 23 Jun 2021 15:07:51 +0000
Subject: build system: configure: config_ccenv(): relax the --sysroot
 requirement.

---
 configure | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'configure')

diff --git a/configure b/configure
index 033f89c..e79d154 100755
--- a/configure
+++ b/configure
@@ -840,10 +840,6 @@ config_ccenv()
 		error_msg "${mb_pretty}  or otherwise by setting the NATIVE_CC environment variable to '$ccenv_host_cc',"
 		error_msg "${mb_pretty}  however that should almost never be necessary; then again,"
 		error_msg "${mb_pretty}  forcing native mode when cross-building is strictly prohibited."
-
-		error_msg ' !!'
-		error_msg "$mb_package: error: --sysroot is required when cross-compiling."
-		exit 2
 	fi
 
 	# add the include and library directories to the compiler and linker search path
-- 
cgit v1.2.3