From 0677771aca038b1383b8bc81f4bf5574ffa8d38b Mon Sep 17 00:00:00 2001 From: midipix Date: Oct 20 2019 01:46:16 +0000 Subject: build system: ccenv.sh: ccenv_set_cc_bits(): word-splitting resilience. --- 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