Skip to content

Commit 8e232bd

Browse files
bonzinieli-schwartz
authored andcommitted
docs: fix pre-1.8 order for per-subproject options
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit 8bba5d0)
1 parent 42010ad commit 8e232bd

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
@@ -395,12 +395,17 @@ Between *0.54.0* and *1.7.x* only a few options could be defined per subproject:
395395

396396
The value was overridden in this order:
397397

398-
- Value from parent project
399-
- Value from subproject's `default_options`
400-
- Value from `subproject()` `default_options`
401-
- Value from machine file
402-
- Value from command line
398+
- `opt=value` from parent project's `default_options`
399+
- `opt=value` from machine file
400+
- `opt=value` from command line
401+
- `opt=value` from subproject's `default_options`
402+
- `subp:opt=value` from parent project's default options
403+
- `opt=value` from `subproject()` `default_options`
404+
- `subp:opt=value` from machine file
405+
- `subp:opt=value` from command line
403406

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

405410
## Module options
406411

0 commit comments

Comments
 (0)