summaryrefslogtreecommitdiffhomepage
path: root/sysinfo/host/host.sh
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-23 03:38:48 -0500
committermidipix <writeonce@midipix.org>2017-11-23 15:41:26 -0500
commit55d3a8a0eaf27357d7a67f1be23f1ba957925993 (patch)
treee086d3a29dc48aa7ed36d6ef6ebf7d1f269c846c /sysinfo/host/host.sh
parent1e6f15bd7c2fda7a913ce78e1e5398e2c24268f5 (diff)
downloadpemagine-55d3a8a0eaf27357d7a67f1be23f1ba957925993.tar.bz2
pemagine-55d3a8a0eaf27357d7a67f1be23f1ba957925993.tar.xz
build system: added --cchost support.
Diffstat (limited to 'sysinfo/host/host.sh')
-rwxr-xr-xsysinfo/host/host.sh2
1 files changed, 1 insertions, 1 deletions
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