1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-26 02:46:13 -04:00

[configure.ac] Added -fpermissive for SpiderMonkey

If you want to build with SpiderMonkey, you must compile by g++.
Current state is it segfaults often.
This commit is contained in:
Witold Filipczyk 2020-10-27 15:05:31 +01:00
parent d1ecd45828
commit aeeb5c69a2

View File

@ -692,6 +692,7 @@ if test "x$CONFIG_ECMASCRIPT_SMJS" = xyes ||
AC_SUBST(SPIDERMONKEY_LIBS) AC_SUBST(SPIDERMONKEY_LIBS)
AC_SUBST(SPIDERMONKEY_CFLAGS) AC_SUBST(SPIDERMONKEY_CFLAGS)
AC_SUBST(CONFIG_SPIDERMONKEY) AC_SUBST(CONFIG_SPIDERMONKEY)
CFLAGS="$CFLAGS -fpermissive"
fi fi
# =================================================================== # ===================================================================