summaryrefslogtreecommitdiffhomepage
path: root/sofort
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:34 +0000
commitc68a1cefcd72e88a5e0db135906b2fcbb3ad8040 (patch)
treebed86d13e64299ce9988dadc24eae0dc298de80f /sofort
parentcc3f3528bc05866a462b09de5a3c016831f1f1b3 (diff)
downloadapimagic-c68a1cefcd72e88a5e0db135906b2fcbb3ad8040.tar.bz2
apimagic-c68a1cefcd72e88a5e0db135906b2fcbb3ad8040.tar.xz
build system: ccenv.sh: ccenv_set_cc_bits(): word-splitting resilience.
Diffstat (limited to 'sofort')
-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