summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-23 22:23:46 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:22 -0500
commit8bc9e209eb0248359ca956bfa616df0f9542ce9c (patch)
tree751e047260bf02fea551a39ef89bd17ce152f517 /sysinfo
parent26e82049f6436ed46242e2108b54e141d04a9f3f (diff)
downloadperk-8bc9e209eb0248359ca956bfa616df0f9542ce9c.tar.bz2
perk-8bc9e209eb0248359ca956bfa616df0f9542ce9c.tar.xz
build system: host.sh: do not quote $mb_compiler, as it may contain switches.
Diffstat (limited to 'sysinfo')
-rwxr-xr-xsysinfo/host/host.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysinfo/host/host.sh b/sysinfo/host/host.sh
index 50186e7..2d1439e 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 -dM -E - < /dev/null > /dev/null && return 0
error_msg "config error: invalid compiler."
exit 2
@@ -27,18 +27,18 @@ host_endian_h()
rm -f "$mb_hdrdir"/$mb_header
# portable
- "$mb_compiler" $mb_cflags \
+ $mb_compiler $mb_cflags \
--include=$mb_header -E - < /dev/null > /dev/null 2>/dev/null \
&& return 0
# non-portable
mb_hosthdr=
- [ -z $mb_hosthdr ] && "$mb_compiler" $mb_cflags \
+ [ -z $mb_hosthdr ] && $mb_compiler $mb_cflags \
--include='sys/'$mb_header -E - < /dev/null > /dev/null 2>/dev/null \
&& mb_hosthdr='sys/'$mb_header
- [ -z $mb_hosthdr ] && "$mb_compiler" $mb_cflags \
+ [ -z $mb_hosthdr ] && $mb_compiler $mb_cflags \
--include='machine/'$mb_header -E - < /dev/null > /dev/null 2>/dev/null \
&& mb_hosthdr='machine/'$mb_header