summaryrefslogtreecommitdiff
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:35:10 -0500
commit96c245fb04bc5acdb8d5f8f2b3ce0592a05d9bac (patch)
tree7badf913c857fff50ca727aee763c24a7e8285e9 /sysinfo
parent414de758b155d9404e4a25da91428e20568502f4 (diff)
downloadbfirm-96c245fb04bc5acdb8d5f8f2b3ce0592a05d9bac.tar.bz2
bfirm-96c245fb04bc5acdb8d5f8f2b3ce0592a05d9bac.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