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
This commit is contained in:
David Malcolm 2013-08-05 20:19:29 +00:00 committed by David Malcolm
parent 27a4cd485d
commit 1589229865
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-08-05 David Malcolm <dmalcolm@redhat.com>
* lib/plugin-support.exp (plugin-test-execute): Add -fno-rtti
to optstr when building plugins.
2013-08-05 David Malcolm <dmalcolm@redhat.com>
Patch autogenerated by refactor_passes.py from

View File

@ -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.