summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-23 03:38:48 -0500
committermidipix <writeonce@midipix.org>2017-11-23 15:33:07 -0500
commit3396d5106b1a441e93d4b6351721a7b51caf791f (patch)
tree4ef15b42004ea7c09477fb7a6f2b807158b9fbb7 /sysinfo
parentaf48ea01fae62e419147b0bf7d952f28919da5bc (diff)
downloadapimagic-3396d5106b1a441e93d4b6351721a7b51caf791f.tar.bz2
apimagic-3396d5106b1a441e93d4b6351721a7b51caf791f.tar.xz
build system: added --cchost support.
Diffstat (limited to 'sysinfo')
-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