USE_SDL is 1 by default
Everything is fine except for building SDL2
When USE_SDL=1, emcc will add an include path of its built-in SDL1, which contains same files with SDL2 (e.g. SDL_config.h)
Building SDL2 without additional flags will result in redefination errors
How to disable USE_SDL globally? Is there any configuration file or environment variable? Please don't tell me to use CFLAGS= because of many compability issues of many build systems
USE_SDLis 1 by defaultEverything is fine except for building SDL2
When USE_SDL=1, emcc will add an include path of its built-in SDL1, which contains same files with SDL2 (e.g. SDL_config.h)
Building SDL2 without additional flags will result in redefination errors
How to disable USE_SDL globally? Is there any configuration file or environment variable? Please don't tell me to use CFLAGS= because of many compability issues of many build systems