summaryrefslogtreecommitdiffhomepage
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
commite230e90adb718d8a3e4448e94b3652cd76f2a618 (patch)
treed0932d3e675fc143b25172a1a9cfd8685b5d4f2f
parent5c16e6b1634207fb8e97ea8003461dde77fbd096 (diff)
downloadptycon-e230e90adb718d8a3e4448e94b3652cd76f2a618.tar.bz2
ptycon-e230e90adb718d8a3e4448e94b3652cd76f2a618.tar.xz
build system: ccenv.sh: ccenv_set_cc_bits(): word-splitting resilience.
-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