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:34:17 -0500
commit916c588ad80357b0d1604faf59ace6d9c5e9bfea (patch)
tree921b80b072b3f0ff2af2ace6948206846f7c58cb /sysinfo
parent6abad37e11cfb7e0b7d3208376cc79f76338dac1 (diff)
downloadbcparser-916c588ad80357b0d1604faf59ace6d9c5e9bfea.tar.bz2
bcparser-916c588ad80357b0d1604faf59ace6d9c5e9bfea.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