aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/msetup.py
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-07-31 14:10:30 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-12 01:21:32 +0300
commitd8335fb03273d46262b40c0dd53d94ef7e275814 (patch)
treef386635df7e8e5bbe68d0834aee2618508790b25 /mesonbuild/msetup.py
parentb21fd95f737ab96f57c45e15a1d89d5c483daec8 (diff)
downloadmeson-d8335fb03273d46262b40c0dd53d94ef7e275814.zip
meson-d8335fb03273d46262b40c0dd53d94ef7e275814.tar.gz
meson-d8335fb03273d46262b40c0dd53d94ef7e275814.tar.bz2
Put native file before cross file in options list
I think this makes more sense by matching how build comes before host. Native builds are also more common than cross builds.
Diffstat (limited to 'mesonbuild/msetup.py')
-rw-r--r--mesonbuild/msetup.py8
1 files changed, 4 insertions, 4 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',