plugin-support.exp (plugin-test-execute): Add -fno-rtti to optstr when building plugi...
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 7 Aug 2013 01:25:22 +0000 (01:25 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 7 Aug 2013 01:25:22 +0000 (01:25 +0000)
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

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

index 0b1c1e8..2f8197f 100644 (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
index 017f3fd..54c51fe 100644 (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"