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:
parent
27a4cd485d
commit
1589229865
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user