LIGHTREC_LOG_LEVEL=4 enables lightrec pr_debug messages and the disassembler
LIGHTREC_LOG_LEVEL=3 outputs some useful messages about state of the mmap,
threaded recompiler, and lightrec memory usage stats
For details on what is printed by disassembler see:
https://github.com/pcercuei/lightrec/commit/5d6881c3
Log Levels:
0 = No Logging
1 = Error
2 = Warning (default)
3 = Info
4 = Debug
This allows deps/light(rec/ning) to be free of any local changes
which allows more automated merging of any updates, and centralizes
the location of locally created files, these should be regenerated
whenever changes occur in thier subrepo files:
config.h <- deps/lightrec/config.h.cmakein
lightning.h <- deps/lightning/include/lightning.h.in
Also add the defines to keep lightrec optimizations enabled by default