From 70a0d150d2d05942d93c6eb6cb66cc8cbfe3797e Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Thu, 27 May 2021 04:18:40 +0000
Subject: build system: configure: cfgtest: do not rely on default word
 splitting.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'configure')

diff --git a/configure b/configure
index 6099868..725cd6f 100755
--- a/configure
+++ b/configure
@@ -874,7 +874,7 @@ config_host()
 
 	printf '\n%s' "$mb_cfghost_cc $ccenv_tmpname -o a.out" >&3
 
-	for mb_cfghost_cflag in $mb_cfghost_cflags; do
+	for mb_cfghost_cflag in $(printf '%s' "$mb_cfghost_cflags"); do
 		printf ' \\\n\t%s' "$mb_cfghost_cflag" >&3
 	done
 
-- 
cgit v1.2.3