Ignore:
Timestamp:
03/31/2021 10:41:35 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
b2c61c6
Parents:
1803e9b
git-author:
Thomas Trepl <thomas@…> (06/19/2019 06:19:25 PM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:35 AM)
Message:

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11623 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-pass2.xml

    r1803e9b r5066dee  
    7676  sed -e 's@/lib\(64\)\?\(32\)\?\(x32\)\?/ld@/tools&amp;@g' \
    7777      -e 's@/usr@/tools@g' $file.orig &gt; $file
    78   echo '
    79 #undef STANDARD_STARTFILE_PREFIX_1
    80 #undef STANDARD_STARTFILE_PREFIX_2
    81 #define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"
    82 #define STANDARD_STARTFILE_PREFIX_2 ""' &gt;&gt; $file
    8378  touch $file.orig
    84 done</userinput></screen>
     79done
     80sed -e "/^#define[[:blank:]]*STANDARD_STARTFILE_PREFIX_1/ s;\".*\";\"/tools/lib/\";" \
     81    -e "/^#define[[:blank:]]*STANDARD_STARTFILE_PREFIX_2/ s;\".*\";\"\";" \
     82    -i gcc/gcc.c</userinput></screen>
    8583
    8684    <para arch="default">If building on x86_64, change the default directory
Note: See TracChangeset for help on using the changeset viewer.