configure.ac: Add some compiler options for emscripten
"-lc" and "-s ALLOW_MEMORY_GROWTH=1" are needed
This commit is contained in:
parent
dd65aa95f9
commit
f12c33b611
@ -1137,6 +1137,9 @@ main()
|
|||||||
ac_cv_func___builtin_setjmp=no
|
ac_cv_func___builtin_setjmp=no
|
||||||
])
|
])
|
||||||
],
|
],
|
||||||
|
[emscripten*], [LIBS="-lm -lc $LIBS"
|
||||||
|
RUBY_APPEND_OPTIONS(LDFLAGS, -s ALLOW_MEMORY_GROWTH=1)
|
||||||
|
],
|
||||||
[ LIBS="-lm $LIBS"])
|
[ LIBS="-lm $LIBS"])
|
||||||
: ${ORIG_LIBS=$LIBS}
|
: ${ORIG_LIBS=$LIBS}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user