From 8bc9e209eb0248359ca956bfa616df0f9542ce9c Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 23 Sep 2015 22:23:46 -0400 Subject: build system: host.sh: do not quote $mb_compiler, as it may contain switches. --- sysinfo/host/host.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysinfo/host') 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 -- cgit v1.2.3