attached patch (against 0.12-rc1) adds load-time option 'debug_level',
if compiled with DEBUG=-1. DEBUG > 0 still yield compile-time option
Theres one caveat;
the conditionals added for DEBUG=-1 are a bit brittle wrt END-of-STATEMENT, ala:
driver/pe_loader.c:254: warning: suggest explicit braces to avoid
I fiddled a bit with the macros, then punted and wrapped the
I hope the right way is obvious/easy enough for you to not refuse the patch
on that basis.