summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-23 03:38:48 -0500
committermidipix <writeonce@midipix.org>2018-05-21 01:44:57 -0400
commit04eb52986e2bf98b66a0f8e9120b0e3654de4494 (patch)
tree9a68f8354e37fe3cad7b95d54b039784ddffc287 /sysinfo
parent1d096c3438ee66f3201f5e5917671f524b2dc38b (diff)
downloadntux-04eb52986e2bf98b66a0f8e9120b0e3654de4494.tar.bz2
ntux-04eb52986e2bf98b66a0f8e9120b0e3654de4494.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