My repo has a bit messy CMAKEList which configures many compile options. If I enable -Og but the legacy later also defines -O3, which option are chosen effective? Is it
- First one appears
- Last one appears
- Looser option (or stricter option)
Another example would be enable lto and disable lto (just an example)
Alwasy appreciate the community for sharing valuable knowledge!