public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Remove extra lib directory from --with-advance-toolchain
@ 2019-10-03 17:08 Tulio Magno Quites Machado Filho
  2019-10-03 23:32 ` Michael Meissner
  2019-10-04 16:13 ` [PATCH] Remove extra lib directory from --with-advance-toolchain Jeff Law
  0 siblings, 2 replies; 8+ messages in thread
From: Tulio Magno Quites Machado Filho @ 2019-10-03 17:08 UTC (permalink / raw)
  To: gcc-patches; +Cc: segher, meissner

Remove the extra -L directory so that user directories specified at
build time have higher preference over the advance toolchain libraries.

2019-10-03  Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>

	* config.gcc: Remove an extra -L from --with-advance-toolchain.
---
 gcc/config.gcc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 481bc9586a7..d52b5cd2d41 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -4782,14 +4782,12 @@ case "${target}" in
 			 echo "#undef  LINK_OS_EXTRA_SPEC32"
 			 echo "#define LINK_OS_EXTRA_SPEC32" \
 			      "\"%(link_os_new_dtags)" \
-			      "-rpath $prefix/lib -rpath $at/lib" \
-			      "-L $prefix/lib -L $at/lib\""
+			      "-rpath $prefix/lib -rpath $at/lib\""
 			 echo
 			 echo "#undef  LINK_OS_EXTRA_SPEC64"
 			 echo "#define LINK_OS_EXTRA_SPEC64" \
 			      "\"%(link_os_new_dtags)" \
-			      "-rpath $prefix/lib64 -rpath $at/lib64" \
-			      "-L $prefix/lib64 -L $at/lib64\""
+			      "-rpath $prefix/lib64 -rpath $at/lib64\""
 			 echo
 			 echo "#undef  LINK_OS_NEW_DTAGS_SPEC"
 			 echo "#define LINK_OS_NEW_DTAGS_SPEC" \
-- 
2.14.5

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-23 21:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03 17:08 [PATCH] Remove extra lib directory from --with-advance-toolchain Tulio Magno Quites Machado Filho
2019-10-03 23:32 ` Michael Meissner
2019-10-04 21:32   ` [PATCHv2] Change the library search path when using --with-advance-toolchain Tulio Magno Quites Machado Filho
2019-10-05 17:21     ` Segher Boessenkool
2019-10-23 21:51       ` Peter Bergner
2019-10-07 20:46     ` Michael Meissner
2019-10-08 15:10     ` Segher Boessenkool
2019-10-04 16:13 ` [PATCH] Remove extra lib directory from --with-advance-toolchain Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).