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:38:27 -0500
commitf6d035023659ace277b773635c496e83b55858d1 (patch)
treeb616d8431f469df96e1f10d62922b6f3d6143b5e /sysinfo
parentd1ebf8849e994055d45085b97efafd3a35f8b215 (diff)
downloadntapi-f6d035023659ace277b773635c496e83b55858d1.tar.bz2
ntapi-f6d035023659ace277b773635c496e83b55858d1.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