scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST
authorMichael Hope <michael.hope@linaro.org>
Fri Oct 21 03:29:18 2011 +0200 (2011-10-21)
changeset 2727a7df9ea895fa
parent 2726 a0c5aad74f8f
child 2729 adc12224e93c
child 2732 7a29fc3cfd87
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>
scripts/crosstool-NG.sh.in
     1.1 --- a/scripts/crosstool-NG.sh.in	Thu Oct 20 23:12:16 2011 +0200
     1.2 +++ b/scripts/crosstool-NG.sh.in	Fri Oct 21 03:29:18 2011 +0200
     1.3 @@ -480,7 +480,7 @@
     1.4      # Help gcc
     1.5      CT_CFLAGS_FOR_HOST=
     1.6      [ "${CT_USE_PIPES}" = "y" ] && CT_CFLAGS_FOR_HOST+=" -pipe"
     1.7 -    CT_CFLAGS_FOR_HOST+="${CT_EXTRA_FLAGS_FOR_HOST}"
     1.8 +    CT_CFLAGS_FOR_HOST+=" ${CT_EXTRA_FLAGS_FOR_HOST}"
     1.9  
    1.10      # Set the shell to be used by ./configure scripts and by Makefiles (those
    1.11      # that support it!).