diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-11-29 11:10:17 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-12-05 14:52:09 +0100 |
commit | be9740eaa6479d5e819637b071fc72c1edc200d5 (patch) | |
tree | aaf0fe19ed05f0aa41dd56978fd77b7f1cf5ab49 /gcc | |
parent | ddd1b481a0b655716b06962053712fad7f8efa7b (diff) | |
download | gcc-be9740eaa6479d5e819637b071fc72c1edc200d5.zip gcc-be9740eaa6479d5e819637b071fc72c1edc200d5.tar.gz gcc-be9740eaa6479d5e819637b071fc72c1edc200d5.tar.bz2 |
rust1: Use RUST_CXXFLAGS
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/Make-lang.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 9f0d638..4f04f85 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -173,7 +173,7 @@ rust_OBJS = $(RUST_ALL_OBJS) rust/rustspec.o # The compiler itself is called rust1 (formerly grs1) rust1$(exeext): $(RUST_ALL_OBJS) attribs.o $(BACKEND) $(LIBDEPS) - +$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \ + +$(LLINKER) $(RUST_CXXFLAGS) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \ $(RUST_ALL_OBJS) attribs.o $(BACKEND) $(LIBS) $(BACKENDLIBS) # Build hooks. |