From a58bfa53081a14e127f61cbcd0143862cbfc60d1 Mon Sep 17 00:00:00 2001 From: Nala Ginrut Date: Wed, 22 Apr 2020 00:04:15 +0800 Subject: Add rust_OBJS to fix compiling error --- gcc/rust/Make-lang.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc') diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 6a2c6c2..6512f61 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -72,6 +72,8 @@ GRS_OBJS = \ $(END) # removed object files from here +rust_OBJS = $(GRS_OBJS) rust/rustspec.o + # The compiler itself is called rust1 (formerly grs1) rust1$(exeext): $(GRS_OBJS) attribs.o $(BACKEND) $(LIBDEPS) +$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \ -- cgit v1.1