]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add -fno-rtti when building plugins.
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 5 Aug 2013 20:19:29 +0000 (20:19 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 5 Aug 2013 20:19:29 +0000 (20:19 +0000)
gcc/testsuite

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

From-SVN: r201509

gcc/testsuite/ChangeLog
gcc/testsuite/lib/plugin-support.exp

index 757c9f274248416c962c79c535e7e2010b3341d1..403a2685cf5f5f65da18fab786febe29733aa44a 100644 (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
index 88033b3286abf6dd51109ce7bbedb12e31bc015e..017f3fd24fa0087ea6779861049f3d9cb7a7b0ea 100644 (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.