diff options
-rw-r--r-- | mesonbuild/msetup.py | 8 | ||||
-rwxr-xr-x | run_tests.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py index 4e6f401..13df6ea 100644 --- a/mesonbuild/msetup.py +++ b/mesonbuild/msetup.py @@ -32,14 +32,14 @@ from .mesonlib import MesonException def add_arguments(parser): coredata.register_builtin_arguments(parser) - parser.add_argument('--cross-file', - default=[], - action='append', - help='File describing cross compilation environment.') parser.add_argument('--native-file', default=[], action='append', help='File containing overrides for native compilation environment.') + parser.add_argument('--cross-file', + default=[], + action='append', + help='File describing cross compilation environment.') parser.add_argument('-v', '--version', action='version', version=coredata.version) parser.add_argument('--profile-self', action='store_true', dest='profile', diff --git a/run_tests.py b/run_tests.py index 6a42681..7e95643 100755 --- a/run_tests.py +++ b/run_tests.py @@ -71,11 +71,11 @@ class FakeCompilerOptions: def get_fake_options(prefix=''): import argparse opts = argparse.Namespace() + opts.native_file = [] opts.cross_file = None opts.wrap_mode = None opts.prefix = prefix opts.cmd_line_options = {} - opts.native_file = [] return opts def get_fake_env(sdir='', bdir=None, prefix='', opts=None): |