Cannot override positional-dependent options
- Lingua principale
- C++
- Stelle
- 251
- Fork
- 63
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
With the change at https://github.com/boostorg/build/commit/61989801cab6a8f92969fcb82340a1e299e14e5e a (perhaps) unintended side effect is that options specified in a `project-config.jam` file are no longer listed last - so those options (`-fvisibility` for example) which are position-dependent (later ones override earlier ones), there is no longer a way to override.
This can be seen by looking at the compile commands for `boost::log` and `boost::serialization` if you specify `-fvisibility=default` in `project-config.jam`. Prior to this commit (and, rolling back this commit) will place the `-fvisibility=default` *after* `-fvisibility=hidden`. After this commit, the `-fvisibility=hidden` comes after, thus not providing a way to override the option.
I am attaching a [project-config.txt](https://github.com/boostorg/build/files/2276270/project-config.txt) file. Building `boost::log` with clang on macOS will demonstrate the issue.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.