]> 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 <tschwinge@baylibre.com>
Mon, 15 Apr 2024 11:03:35 +0000 (13:03 +0200)
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'.

gcc/rust/Make-lang.in

index 4d73412739d1b7751caf14ddb8817de689475255..e901668b93d90838de858b183962172830b9cf59 100644 (file)
@@ -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