meson: Unable to change any options when using `--reconfigure`, even though output shows they were changed
Describe the bug
When I attempt to change c_args
using --reconfigure, there is no change.
To Reproduce
When I use something like:
meson gcc-build -Dc_args=-fno-common --reconfigure
c_args doesn’t change. I ran meson configure gcc-build
to verify. Also tried with
CFLAGS=-fno-common meson gcc-build --reconfigure
but got the same result.
system parameters
- native build
- Debian 10
- Python 3.7.3
- 0.54.2
- ninja 1.8.2
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 4
- Comments: 15 (12 by maintainers)
The same issue occurs for
cpp_std
. Once a build folder is configure the first time you can changecpp_std
to anything you want and it will have no effect. Meson will also not raise an error if the value ofcpp_std
is not valid.