summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hope <michael.hope@linaro.org>2011-10-21 01:29:18 (GMT)
committerMichael Hope <michael.hope@linaro.org>2011-10-21 01:29:18 (GMT)
commit486d1c141d3bdf0c6ab33b860de349f10e6a809d (patch)
treebf7e43db2a3e57fff9db55d32c14feb5068a5c56
parent715c5e3903025064159a77bbbe168389274450b2 (diff)
scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST
CT_EXTRA_FLAGS_FOR_HOST needs a preceding space to separate it from any other options that have already been set. Signed-off-by: Michael Hope <michael.hope@linaro.org>
-rw-r--r--scripts/crosstool-NG.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index e70ff2a..70589da 100644
--- a/scripts/crosstool-NG.sh.in
+++ b/scripts/crosstool-NG.sh.in
@@ -480,7 +480,7 @@ if [ -z "${CT_RESTART}" ]; then
# Help gcc
CT_CFLAGS_FOR_HOST=
[ "${CT_USE_PIPES}" = "y" ] && CT_CFLAGS_FOR_HOST+=" -pipe"
- CT_CFLAGS_FOR_HOST+="${CT_EXTRA_FLAGS_FOR_HOST}"
+ CT_CFLAGS_FOR_HOST+=" ${CT_EXTRA_FLAGS_FOR_HOST}"
# Set the shell to be used by ./configure scripts and by Makefiles (those
# that support it!).