summaryrefslogtreecommitdiff
path: root/sysinfo/host
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-23 03:38:48 -0500
committermidipix <writeonce@midipix.org>2017-11-23 15:44:05 -0500
commitf83f76048d0094921afb0f4f4b0bb5b90e062755 (patch)
treec62be2cb4e6b44fb1db968612ea2650fae5c0242 /sysinfo/host
parent197fd9ecd4f88bc1b5f654dd19bd8854a4fba905 (diff)
downloadslibtool-f83f76048d0094921afb0f4f4b0bb5b90e062755.tar.bz2
slibtool-f83f76048d0094921afb0f4f4b0bb5b90e062755.tar.xz
build system: added --cchost support.
Diffstat (limited to 'sysinfo/host')
-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