public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] make: Inherit CXXFLAGS, remove compiler-specific warnings
@ 2022-10-27  7:49 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-10-27  7:49 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:da13bf4bbc46b399419c3e7f2c358a0efe3bdfdd

commit da13bf4bbc46b399419c3e7f2c358a0efe3bdfdd
Author: Arthur Cohen <arthur.cohen@embecosm.com>
Date:   Tue Oct 4 17:02:14 2022 +0200

    make: Inherit CXXFLAGS, remove compiler-specific warnings

Diff:
---
 gcc/rust/Make-lang.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 024fe233327..58dbc094f23 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-27  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27  7:49 [gcc/devel/rust/master] make: Inherit CXXFLAGS, remove compiler-specific warnings Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).