]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove 'libgrust/libproc_macro_internal' from 'gcc/rust/Make-lang.in:RUST_LDFLAGS'
authorThomas Schwinge <tschwinge@baylibre.com>
Wed, 28 Feb 2024 21:41:42 +0000 (22:41 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 16 Apr 2024 07:46:13 +0000 (07:46 +0000)
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'.

gcc/rust/Make-lang.in

index a68ae1e93f6843144842bf270813ff8e2bc2fea4..13e035da218b295d7e9e7f7b77e15b928c0ae94e 100644 (file)
@@ -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