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] |
On Wednesday 10 June 2009 12:12:32 Bart vd. Meulen wrote: > The symbol link that is created in the sysroot directory only needs > to be made when the cross compiler is build with the sysroot option > > Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com> > --- > scripts/crosstool-NG.sh.in | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > Index: crosstool-ng/scripts/crosstool-NG.sh.in > =================================================================== > --- crosstool-ng.orig/scripts/crosstool-NG.sh.in 2009-06-08 15:29:33.000000000 +0200 > +++ crosstool-ng/scripts/crosstool-NG.sh.in 2009-06-08 15:30:15.000000000 +0200 > @@ -280,8 +280,10 @@ if [ -z "${CT_RESTART}" ]; then > CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/lib" > CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/usr/lib" > > - # Prevent gcc from installing its libraries outside of the sys-root > - CT_DoExecLog ALL ln -sf "./${CT_SYSROOT_DIR_PREFIX}/sys-root/lib" "${CT_PREFIX_DIR}/${CT_TARGET}/lib" > + if [ "${CT_USE_SYSROOT}" = "y" ]; then > + # Prevent gcc from installing its libraries outside of the sys-root > + CT_DoExecLog ALL ln -sf "./${CT_SYSROOT_DIR_PREFIX}/sys-root/lib" "${CT_PREFIX_DIR}/${CT_TARGET}/lib" > + fi Applied as-is, thanks! Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ | | --==< ^_^ >==-- `------------.-------: 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] |