From aeeb5c69a2aee50d3d90a9d9a3fd038e2ea6a2da Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 27 Oct 2020 15:05:31 +0100 Subject: [PATCH] [configure.ac] Added -fpermissive for SpiderMonkey If you want to build with SpiderMonkey, you must compile by g++. Current state is it segfaults often. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index d71c611a..91f03444 100644 --- a/configure.ac +++ b/configure.ac @@ -692,6 +692,7 @@ if test "x$CONFIG_ECMASCRIPT_SMJS" = xyes || AC_SUBST(SPIDERMONKEY_LIBS) AC_SUBST(SPIDERMONKEY_CFLAGS) AC_SUBST(CONFIG_SPIDERMONKEY) + CFLAGS="$CFLAGS -fpermissive" fi # ===================================================================