Reserve slots for function pointers

This commit is contained in:
Frank Denis 2015-01-17 18:33:25 +01:00
parent 87972313d6
commit 201821065d

View File

@ -423,7 +423,7 @@ AC_SUBST([LIBTOOL_EXTRA_FLAGS])
TEST_LDFLAGS='' TEST_LDFLAGS=''
AS_IF([test "x$EMSCRIPTEN" != "x"],[ AS_IF([test "x$EMSCRIPTEN" != "x"],[
EXEEXT=.js EXEEXT=.js
TEST_LDFLAGS='--pre-js pre.js.inc' TEST_LDFLAGS='--pre-js pre.js.inc -s RESERVED_FUNCTION_POINTERS=8'
]) ])
AC_SUBST(TEST_LDFLAGS) AC_SUBST(TEST_LDFLAGS)
AM_CONDITIONAL([EMSCRIPTEN], [test "x$EMSCRIPTEN" != "x"]) AM_CONDITIONAL([EMSCRIPTEN], [test "x$EMSCRIPTEN" != "x"])