m4: Don't use -Wno-non-virtual-dtor for objc
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 30 May 2012 10:37:00 +0000 (12:37 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 30 May 2012 10:37:35 +0000 (12:37 +0200)
m4/gst-error.m4

index d21e324..e12a04c 100644 (file)
@@ -228,9 +228,6 @@ AC_DEFUN([AG_GST_SET_ERROR_OBJCFLAGS],
 
     if test "x$ERROR_OBJCFLAGS" != "x"
     then
-        dnl add exceptions
-        AS_OBJC_COMPILER_FLAG([-Wno-non-virtual-dtor], ERROR_OBJCFLAGS="$ERROR_OBJCFLAGS -Wno-non-virtual-dtor")
-
        dnl Add -fno-strict-aliasing for GLib versions before 2.19.8
        dnl as before G_LOCK and friends caused strict aliasing compiler
        dnl warnings.