aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-02-28 22:45:18 +0100
committerThomas Schwinge <thomas@codesourcery.com>2024-04-16 07:46:13 +0000
commit1e97d748f45e4ae4e56ef2f2cd30c90bf000d410 (patch)
tree238aef01032f98ced9399d2c20d7c0aaacbbe5b1
parent97759a56aa09fcef19c2202d0d91dd9fedf94547 (diff)
downloadgcc-1e97d748f45e4ae4e56ef2f2cd30c90bf000d410.zip
gcc-1e97d748f45e4ae4e56ef2f2cd30c90bf000d410.tar.gz
gcc-1e97d748f45e4ae4e56ef2f2cd30c90bf000d410.tar.bz2
Inline 'gcc/rust/Make-lang.in:RUST_LDFLAGS'
Unused. gcc/rust/ * Make-lang.in (RUST_LDFLAGS): Inline into all users.
-rw-r--r--gcc/rust/Make-lang.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 13e035d..c39fd94 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -225,13 +225,12 @@ RUST_ALL_OBJS = $(GRS_OBJS) $(RUST_TARGET_OBJS)
rust_OBJS = $(RUST_ALL_OBJS) rust/rustspec.o
-RUST_LDFLAGS = $(LDFLAGS)
RUST_LIBDEPS = $(LIBDEPS) ../libgrust/libproc_macro_internal/libproc_macro_internal.a rust/libformat_parser.a
# The compiler itself is called crab1
crab1$(exeext): $(RUST_ALL_OBJS) attribs.o $(BACKEND) $(RUST_LIBDEPS) $(rust.prev)
@$(call LINK_PROGRESS,$(INDEX.rust),start)
- +$(LLINKER) $(ALL_LINKERFLAGS) $(RUST_LDFLAGS) -o $@ \
+ +$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
$(RUST_ALL_OBJS) attribs.o $(BACKEND) $(LIBS) ../libgrust/libproc_macro_internal/libproc_macro_internal.a rust/libformat_parser.a $(BACKENDLIBS)
@$(call LINK_PROGRESS,$(INDEX.rust),end)