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:52:54 -0500
commitc2225d49eb9ddc436af815c2a06006c3011980fe (patch)
tree656a6df82b2e78c4edb5f3824f3cf3327be04ad4 /sysinfo/host/host.sh
parent7c818c129cc79eac138ec6a07dc4dc0f8558d25c (diff)
downloadsofort-c2225d49eb9ddc436af815c2a06006c3011980fe.tar.bz2
sofort-c2225d49eb9ddc436af815c2a06006c3011980fe.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