]> git.ipfire.org Git - thirdparty/gcc.git/commit
Change the library search path when using --with-advance-toolchain
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Oct 2019 15:08:35 +0000 (15:08 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Oct 2019 15:08:35 +0000 (15:08 +0000)
commit291a67cdf8564a9a9186d020a48d4fe9826732ca
treecf5d6628de72db3075f73a443af7573427dfc64e
parent90ce29c313281ed834d9741543fad06ce3d78e3e
Change the library search path when using --with-advance-toolchain

From: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>

Remove all -L directories from LINK_OS_EXTRA_SPEC32 and
LINK_OS_EXTRA_SPEC64 so that user directories specified at
build time have higher preference over the advance toolchain libraries.

Set MD_STARTFILE_PREFIX to $prefix/lib/ and MD_STARTFILE_PREFIX_1 to
$at/lib/ so that a compiler library has preference over the Advance
Toolchain libraries.

* config.gcc: Move -L usage from LINK_OS_EXTRA_SPEC32 and
LINK_OS_EXTRA_SPEC64 to MD_STARTFILE_PREFIX and
MD_STARTFILE_PREFIX_1 when using --with-advance-toolchain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276702 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.gcc