Emscripten: Simplified option name in build script and README.
2 ================================================================================
8 $ emconfigure ../configure --host=asmjs-unknown-emscripten --disable-assembly --disable-threads --disable-cpuinfo CFLAGS="-O2"
18 To build one of the tests:
21 $ emcc -O2 --js-opts 0 -g4 testdraw2.c -I../include ../build/.libs/libSDL2.a ../build/libSDL2_test.a -o a.html
23 Uses GLES2 renderer or software
25 Some other SDL2 libraries can be easily built (assuming SDL2 is installed somewhere):
27 SDL_mixer (http://www.libsdl.org/projects/SDL_mixer/):
29 $ EMCONFIGURE_JS=1 emconfigure ../configure
32 SDL_gfx (http://cms.ferzkopp.net/index.php/software/13-sdl-gfx):
34 $ EMCONFIGURE_JS=1 emconfigure ../configure --disable-mmx