aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-02-28 22:45:18 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2024-04-15 13:03:35 +0200
commitf7c8fa7280c85cbdea45be9c09f36123ff16a78a (patch)
tree3f344f4c619f48947ca5a94f9015b52ae428d777 /gcc/rust
parentcb70a49b30f0a22ec7a1b7df29c3ab370d603f90 (diff)
downloadgcc-f7c8fa7280c85cbdea45be9c09f36123ff16a78a.zip
gcc-f7c8fa7280c85cbdea45be9c09f36123ff16a78a.tar.gz
gcc-f7c8fa7280c85cbdea45be9c09f36123ff16a78a.tar.bz2
Inline 'gcc/rust/Make-lang.in:RUST_LDFLAGS' into single user
gcc/rust/ * Make-lang.in (RUST_LDFLAGS): Inline into single user.
Diffstat (limited to 'gcc/rust')
-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 e901668..ffeb325 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -208,13 +208,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
# 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 $(BACKENDLIBS)
@$(call LINK_PROGRESS,$(INDEX.rust),end)