plugin-support.exp (plugin-test-execute): Add -fno-rtti to optstr when building plugins on darwin.

2013-08-07  David Malcolm  <dmalcolm@redhat.com>

	* lib/plugin-support.exp (plugin-test-execute): Add -fno-rtti
	to optstr when building plugins on darwin.

From-SVN: r201552
This commit is contained in:
David Malcolm 2013-08-07 01:25:22 +00:00 committed by David Malcolm
parent f585f69b31
commit d0cd816041
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-08-07 David Malcolm <dmalcolm@redhat.com>
* lib/plugin-support.exp (plugin-test-execute): Add -fno-rtti
to optstr when building plugins on darwin.
2013-08-06 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/57539

View file

@ -101,7 +101,7 @@ proc plugin-test-execute { plugin_src plugin_tests } {
set optstr [concat $optstr " $op"]
}
}
set optstr [concat $optstr "-DIN_GCC -fPIC -shared -undefined dynamic_lookup"]
set optstr [concat $optstr "-DIN_GCC -fPIC -shared -fno-rtti -undefined dynamic_lookup"]
} else {
set plug_cflags $PLUGINCFLAGS
set optstr "$includes $extra_flags -DIN_GCC -fPIC -shared -fno-rtti"