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-25 11:39:49 -0500
commit20798b2f2a4c12d4401358206bb36d1e7d7a9970 (patch)
tree463df3b92093e959618450edd8418589a5520170 /sysinfo
parent0bc0f9b732afc4ed6e031df95b4c95b54f082b38 (diff)
downloadu16ports-20798b2f2a4c12d4401358206bb36d1e7d7a9970.tar.bz2
u16ports-20798b2f2a4c12d4401358206bb36d1e7d7a9970.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