https://gcc.gnu.org/g:97759a56aa09fcef19c2202d0d91dd9fedf94547

commit 97759a56aa09fcef19c2202d0d91dd9fedf94547
Author: Thomas Schwinge <tschwi...@baylibre.com>
Date:   Wed Feb 28 22:41:42 2024 +0100

    Remove 'libgrust/libproc_macro_internal' from 
'gcc/rust/Make-lang.in:RUST_LDFLAGS'
    
    This isn't necessary, as the full path to 'libproc_macro_internal.a' is
    specified.
    
            gcc/rust/
            * Make-lang.in (RUST_LDFLAGS): Remove
            'libgrust/libproc_macro_internal'.

Diff:
---
 gcc/rust/Make-lang.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index a68ae1e93f68..13e035da218b 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -225,7 +225,7 @@ RUST_ALL_OBJS = $(GRS_OBJS) $(RUST_TARGET_OBJS)
 
 rust_OBJS = $(RUST_ALL_OBJS) rust/rustspec.o
 
-RUST_LDFLAGS = $(LDFLAGS) -L./../libgrust/libproc_macro_internal
+RUST_LDFLAGS = $(LDFLAGS)
 RUST_LIBDEPS = $(LIBDEPS) 
../libgrust/libproc_macro_internal/libproc_macro_internal.a 
rust/libformat_parser.a
 
 # The compiler itself is called crab1

Reply via email to