lowmemory: rename waf options

This commit is contained in:
mittorn 2019-10-28 12:31:29 +07:00
parent 5348046109
commit b3a5283517
2 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,9 @@ def options(opt):
help = 'enable console input from stdin (always enabled for dedicated) [default: %default]')
grp.add_option('--fbdev', action = 'store_true', dest = 'FBDEV_SW', default = False,
help = 'build fbdev-only software-only engine')
grp.add_option('--no-async-resolve', action = 'store_true', dest = 'NO_ASYNC_RESOLVE', default = False,
grp.add_option('--disable-async-resolve', action = 'store_true', dest = 'NO_ASYNC_RESOLVE', default = False,
help = 'disable asynchronous name resolution')
grp.add_option('--custom-swap-allocator', action = 'store_true', dest = 'CUSTOM_SWAP', default = False,
grp.add_option('--enable-custom-swap', action = 'store_true', dest = 'CUSTOM_SWAP', default = False,
help = 'enable custom swap allocator. For devices with no swap support')
opt.load('sdl2')

View File

@ -64,7 +64,7 @@ def options(opt):
grp.add_option('--enable-poly-opt', action = 'store_true', dest = 'POLLY', default = False,
help = 'enable polyhedral optimization if possible [default: %default]')
grp.add_option('--low-memory', action = 'store', dest = 'LOW_MEMORY', default = 0,
grp.add_option('--low-memory-mode', action = 'store', dest = 'LOW_MEMORY', default = 0,
help = 'enable low memory mode (only for devices have <128 ram)')
opt.load('subproject')