Changeset 8e0f8a9


Ignore:
Timestamp:
03/02/2022 10:00:10 AM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/lfs-next, xry111/queue-11.3
Children:
3bb463d
Parents:
859502b
git-author:
Xi Ruoyao <xry111@…> (03/02/2022 09:50:41 AM)
git-committer:
Xi Ruoyao <xry111@…> (03/02/2022 10:00:10 AM)
Message:

gcc pass2: use --target=$LFS_TGT instead of many {C,CXX}_FOR_TARGET

There is also a "GCC_FOR_TARGET" which was not set correctly. The
--target=$LFS_TGT parameter can set up all of these variables as we
expected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    r859502b r8e0f8a9  
    8989    --build=$(../config.guess)                     \
    9090    --host=$LFS_TGT                                \
     91    --target=$LFS_TGT                              \
     92    LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc      \
    9193    --prefix=/usr                                  \
    92     CC_FOR_TARGET=$LFS_TGT-gcc                     \
    93     CXX_FOR_TARGET=$LFS_TGT-g++                    \
    94     LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc      \
    9594    --with-build-sysroot=$LFS                      \
    9695    --enable-initfini-array                        \
Note: See TracChangeset for help on using the changeset viewer.