public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST
@ 2011-10-21  1:29 Michael Hope
  2011-10-21 15:52 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Hope @ 2011-10-21  1:29 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

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>

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 @@
      # 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!).

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST
  2011-10-21  1:29 [PATCH] scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST Michael Hope
@ 2011-10-21 15:52 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2011-10-21 15:52 UTC (permalink / raw)
  To: Michael Hope; +Cc: crossgcc

Michael, All,

On Friday 21 October 2011 03:29:18 Michael Hope wrote:
> scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST

Argh, my fault... Sorry... :-(

> CT_EXTRA_FLAGS_FOR_HOST needs a preceding space to separate it from
> any other options that have already been set.

Applied as #a7df9ea895fa. Thank you!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-21 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-21  1:29 [PATCH] scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOST Michael Hope
2011-10-21 15:52 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).