[gjs/wip/ptomato/classes: 5/11] Revert "build: Allow compiling without RTTI"



commit c33271751b21306d8cb44acd8f73581b0d1c4cd8
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Jul 23 19:09:22 2017 -0700

    Revert "build: Allow compiling without RTTI"
    
    This reverts commit eccf3a14b9b0d6aae89baeaa32dd53f07b2b77d7.
    
    We don't need to match SpiderMonkey here anymore, since we don't inherit
    from a SpiderMonkey-defined class.

 configure.ac |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b4bc63a..86494c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -204,16 +204,6 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
 ])
 CPPFLAGS="$CPPFLAGS_save"
 
-dnl If SpiderMonkey was compiled with this configure option, then GJS needs to
-dnl be compiled with it as well, because we inherit from a SpiderMonkey class in
-dnl jsapi-constructor-proxy.cpp. See build/autoconf/compiler-opts.m4 in mozjs31.
-AC_ARG_ENABLE([cpp-rtti],
-  [AS_HELP_STRING([--enable-cpp-rtti],
-    [needs to match SpiderMonkey's config option @<:@default=off@:>@])])
-AS_IF([test "x$enable_cpp_rtti" != "xyes"],
-  [AX_APPEND_COMPILE_FLAGS([-fno-rtti])],
-  [AX_APPEND_COMPILE_FLAGS([-GR-])])
-
 AC_ARG_WITH([xvfb-tests],
   [AS_HELP_STRING([--with-xvfb-tests],
     [Run all tests under an XVFB server @<:@default=no@:>@])])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]