diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-10-26 08:27:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 08:27:39 +0000 |
commit | 14c942c3eb060e063fd8142d390c6d09951bf544 (patch) | |
tree | 38a5ad7bab280bb64825736b2b436b23b7613652 /gcc/rust/Make-lang.in | |
parent | 0cf743d57fc67d88ecba654be8574ea9a5be40d2 (diff) | |
parent | 94d11161c1abe8927f571aedbf39871f21ccf73a (diff) | |
download | gcc-14c942c3eb060e063fd8142d390c6d09951bf544.zip gcc-14c942c3eb060e063fd8142d390c6d09951bf544.tar.gz gcc-14c942c3eb060e063fd8142d390c6d09951bf544.tar.bz2 |
Merge #1585
1585: Apply #1556 on master r=CohenArthur a=CohenArthur
We should probably wonder about our usage of `-Wno-unused-parameter` :)
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
-rw-r--r-- | gcc/rust/Make-lang.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 024fe23..58dbc09 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -331,8 +331,7 @@ CFLAGS-rust/rust-lex.o += $(RUST_INCLUDES) CFLAGS-rust/rust-parse.o += $(RUST_INCLUDES) CFLAGS-rust/rust-session-manager.o += $(RUST_INCLUDES) -# TODO: possibly find a way to ensure C++11 compilation level here? -RUST_CXXFLAGS = -std=c++11 -Wno-unused-parameter -Werror=overloaded-virtual +RUST_CXXFLAGS = $(CXXFLAGS) # build all rust/lex files in rust folder, add cross-folder includes rust/%.o: rust/lex/%.cc |