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 757c9f27424..403a2685cf5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/testsuite/lib/plugin-support.exp b/gcc/testsuite/lib/plugin-support.exp index 88033b3286a..017f3fd24fa 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.30.2