https://gcc.gnu.org/g:cb70a49b30f0a22ec7a1b7df29c3ab370d603f90

commit r14-9964-gcb70a49b30f0a22ec7a1b7df29c3ab370d603f90
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 elsewhere.
    
            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 4d73412739d..e901668b93d 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -208,7 +208,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
 
 # The compiler itself is called crab1

Reply via email to