From 55d3a8a0eaf27357d7a67f1be23f1ba957925993 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Thu, 23 Nov 2017 03:38:48 -0500
Subject: build system: added --cchost support.

---
 sysinfo/host/host.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sysinfo')

diff --git a/sysinfo/host/host.sh b/sysinfo/host/host.sh
index b3975ae..686edca 100755
--- a/sysinfo/host/host.sh
+++ b/sysinfo/host/host.sh
@@ -15,7 +15,7 @@ host_test()
 		exit 2
 	fi
 
-	$mb_compiler -dM -E - < /dev/null > /dev/null && return 0
+	$mb_compiler $mb_cflags -dumpmachine && return 0
 
 	error_msg "config error: invalid compiler."
 	exit 2
-- 
cgit v1.2.3