forked from len0rd/rockbox
lua disable bytecode dump & undump functions
Adds a flag to remove the ability to dump and load lua bytecode saves 6+kb Change-Id: I080323df7f03f752e0a10928e22a7ce3190a9633
This commit is contained in:
parent
d5908f520e
commit
8bd992c503
4 changed files with 33 additions and 5 deletions
|
@ -797,7 +797,7 @@ extern long rb_pow(long, long);
|
|||
#undef LUA_COMPAT_GFIND
|
||||
#undef LUA_COMPAT_OPENLIB
|
||||
|
||||
/* Resize heap allocated buffers */
|
||||
/* Resize [STACK] allocated buffers */
|
||||
#undef LUAI_MAXVARS /*200*/
|
||||
#define LUAI_MAXVARS 100
|
||||
|
||||
|
@ -811,6 +811,6 @@ extern long rb_pow(long, long);
|
|||
#include "rockconf.h"
|
||||
|
||||
/*else*/
|
||||
#define LUAC_TRUST_BINARIES
|
||||
#define LUA_DISABLE_BYTECODE
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue