Skip to content

Commit fba080d

Browse files
committed
docs: fix pre-1.8 order for per-subproject options
Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 6478fdf commit fba080d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/markdown/Builtin-options.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,17 @@ Between *0.54.0* and *1.7.x* only a few options could be defined per subproject:
400400

401401
The value was overridden in this order:
402402

403-
- Value from parent project
404-
- Value from subproject's `default_options`
405-
- Value from `subproject()` `default_options`
406-
- Value from machine file
407-
- Value from command line
403+
- `opt=value` from parent project's `default_options`
404+
- `opt=value` from machine file
405+
- `opt=value` from command line
406+
- `opt=value` from subproject's `default_options`
407+
- `subp:opt=value` from parent project's default options
408+
- `opt=value` from `subproject()` `default_options`
409+
- `subp:opt=value` from machine file
410+
- `subp:opt=value` from command line
408411

412+
In other word, the subproject's `default_options` had a *higher* priority
413+
than `opt=value` from machine file or command line.
409414

410415
## Module options
411416

0 commit comments

Comments
 (0)