This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Zhenqiang, All, On Monday 28 November 2011 09:33:11 Zhenqiang Chen wrote: > exporting patch: > # HG changeset patch > # User Zhenqiang Chen <zhenqiang.chen@linaro.org> > # Date 1322467523 -28800 > # Node ID 6e30947fabf76287cc92c16a12421aaa7ab51f0c > # Parent 49af7802dcd538ec3cb64337030b03ac2c6344d2 > libc/newlib: remove hard-coded "-O" > > With hard-coded "-O", users can not customize CFLAGS_FOR_TARGET > by CT_TARGET_CFLAGS. If "-O" is needed, users can input it in > CT_TARGET_CFLAGS. By default, "-Os" is enabled. > > Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> > > diff -r 49af7802dcd5 -r 6e30947fabf7 scripts/build/libc/newlib.sh > --- a/scripts/build/libc/newlib.sh Tue Nov 22 10:08:10 2011 +0100 > +++ b/scripts/build/libc/newlib.sh Mon Nov 28 16:05:23 2011 +0800 > @@ -94,7 +94,7 @@ > # target : the machine newlib runs on > CT_DoExecLog CFG \ > CC_FOR_BUILD="${CT_BUILD}-gcc" \ > - CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS} -O" \ > + CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \ > AR=${CT_TARGET}-ar \ > RANLIB=${CT_TARGET}-ranlib \ > "${CT_SRC_DIR}/newlib-$(libc_newlib_version)/configure" \ Queued here. 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |