From 158922986553c3fe81df33b636bb8c8f1a38366e Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 5 Aug 2013 20:19:29 +0000 Subject: [PATCH] Add -fno-rtti when building plugins. gcc/testsuite * lib/plugin-support.exp (plugin-test-execute): Add -fno-rtti to optstr when building plugins. From-SVN: r201509 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/plugin-support.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 757c9f2..403a268 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2013-08-05 David Malcolm + * lib/plugin-support.exp (plugin-test-execute): Add -fno-rtti + to optstr when building plugins. + +2013-08-05 David Malcolm + Patch autogenerated by refactor_passes.py from https://github.com/davidmalcolm/gcc-refactoring-scripts revision 03fe39476a4c4ea450b49e087cfa817b5f92021e diff --git a/gcc/testsuite/lib/plugin-support.exp b/gcc/testsuite/lib/plugin-support.exp index 88033b3..017f3fd 100644 --- a/gcc/testsuite/lib/plugin-support.exp +++ b/gcc/testsuite/lib/plugin-support.exp @@ -104,7 +104,7 @@ proc plugin-test-execute { plugin_src plugin_tests } { set optstr [concat $optstr "-DIN_GCC -fPIC -shared -undefined dynamic_lookup"] } else { set plug_cflags $PLUGINCFLAGS - set optstr "$includes $extra_flags -DIN_GCC -fPIC -shared" + set optstr "$includes $extra_flags -DIN_GCC -fPIC -shared -fno-rtti" } # Temporarily switch to the environment for the plugin compiler. -- 2.7.4