summaryrefslogtreecommitdiffhomepage
path: root/sofort/ccenv/ccenv.sh
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-20 01:38:29 +0000
committermidipix <writeonce@midipix.org>2019-10-20 01:43:35 +0000
commitb8558439694c06636e1f4e61fcace93ed968fd47 (patch)
treed3c90f434a9fb870c0a69538d558b894d6f36a2c /sofort/ccenv/ccenv.sh
parent6c3c34212478daf6221c3c37a2b8532e23b9a30c (diff)
downloadslibtool-b8558439694c06636e1f4e61fcace93ed968fd47.tar.bz2
slibtool-b8558439694c06636e1f4e61fcace93ed968fd47.tar.xz
build system: ccenv.sh: ccenv_set_cc_bits(): word-splitting resilience.
Diffstat (limited to 'sofort/ccenv/ccenv.sh')
-rw-r--r--sofort/ccenv/ccenv.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index e28a1fb..996557c 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -474,10 +474,10 @@ ccenv_set_cc_bits()
"$ccenv_internal_type" \
"$ccenv_internal_guess")
- printf '%s' "$ccenv_internal_str" \
- | $ccenv_cc -S -xc - -o - \
- $ccenv_cflags \
- > /dev/null 2>/dev/null \
+ printf '%s' "$ccenv_internal_str" \
+ | $ccenv_cc -S -xc - -o - \
+ $(printf '%s' "$ccenv_cflags") \
+ > /dev/null 2>/dev/null \
&& ccenv_internal_size=$ccenv_internal_guess
fi
done