From b3a52835172ea30905afe412bfbb13501f872a3a Mon Sep 17 00:00:00 2001 From: mittorn Date: Mon, 28 Oct 2019 12:31:29 +0700 Subject: [PATCH] lowmemory: rename waf options --- engine/wscript | 4 ++-- wscript | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/wscript b/engine/wscript index e20e0741..ebc86351 100644 --- a/engine/wscript +++ b/engine/wscript @@ -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') diff --git a/wscript b/wscript index af05b334..a96bcdea 100644 --- a/wscript +++ b/wscript @@ -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')